|# JonB Says:
November 25th, 2009 at 3:19 am
trying to puzzle out for myself what this code is actually
trying to do. My IDL-fu is effectively non-existant however…
If you expand ESRs original quote a little bit you
; title='Northern Hemisphere temperatures, MXD and corrected
title='Northern Hemisphere temperatures and MXD reconstruction'
; Apply a VERY ARTIFICAL correction for decline!!
2.6,2.6,2.6]*0.75 ; fudge factor
if n_elements(yrloc) ne n_elements(valadj) then message,'Oooops!'
I read this as being responsible for plotting the ‘Northern
Hemisphere temperatures and MXD reconstruction’.
Note however the commented out code. The way i’m
reading this, any graph titled ‘Northern Hemisphere
temperatures, MXD and corrected MXD’ with a thick
red line released before the brown matter hit the whirly
thing probably has cooked data. Likewise if you see a thick
blue line you might be ok.
Where do i get thick red line from?
According to the IDL Reference Guide for IDL v5.4,
thick=5 means 5 times normal thickness. and color=21 links
to (i believe)
from just above the code segment itself.
However there’s one thing that i’m not
sure about without either being able to play with IDL or
seeing the end graph. It does actually plot the uncooked
data in black (oplot,timey,tslow,thick=5,color=22) so whats
the point of showing a cooked data line along with the uncooked
dataline? Not to mention that the uncommented version apparantly
prints the same data series twice.