; IDL Version 5.3 (OSF alpha) ; Journal File for hahn@mithra.physics.montana.edu ; Working directory: /home/hahn ; Date: Thu Jun 10 13:53:41 2004 ; once again i didn't do the journal as i was going along... ; but then, i didn't do much journal worthy either. ; LOADING COLOR TABLES AND IMAGES ; to read an image: read_gif,'/home/hahn/IDL_STUFF/example.gif',image tv, image tvscl, image ; images are just arrays of numbers: print, image ; 20 20 20 17 17 17 20 20 17 20 20 17 20 20 17 20 17 17 17 ; 20 20 17 20 17 20 20 17 20 20 17 17 20 17 20 20 17 20 17 ; 20 20 17 17 17 17 17 17 17 17 17 17 17 17 17 17 20 17 17 ; 17 17 17 17 17 17 17 17 17 17 20 17 20 17 17 17 17 20 17 ; 20 17 17 17 20 20 17 17 20 20 17 17 17 20 17 17 17 20 20 ; 17 20 20 17 17 17 20 20 17 17 17 17 17 20 0 20 20 17 17 ; 20 17 17 17 17 17 20 17 20 20 17 17 17 20 17 17 20 20 20 ; 17 17 20 20 17 20 20 17 20 20 20 20 20 17 20 20 17 17 17 ; 17 17 20 17 17 17 17 20 20 17 20 17 17 17 20 20 17 17 17 ; 17 20 17 17 20 17 17 17 20 17 17 17 17 17 17 17 17 20 20 ; 20 20 20 20 20 17 17 17 17 20 17 17 17 20 17 17 17 17 20 ; 20 17 17 20 20 20 17 17 17 17 17 20 17 17 20 20 17 17 20 ; 17 20 17 20 17 17 17 17 20 17 20 20 17 17 20 17 17 17 17 ; And so on.... ; do the following to load a color table: xloadct ; and then we looked at the MOMENT procedure using xdoc. ; !p.multi changes the number of plots on a page. the examples are ; in the powerpoint presentation ; there was a question about what the first element of the !p.multi array ; was for. the help menu says ' the first element of the vector contains ; the number of empty sectors remaining on the page. the display is ; erased if this field is 0 when a new plot is begun. To see this in action ; you need to have more than one plot on the page. try the following: !p.multi=[2,2,2] x=findgen(150) x=(x/150)*!pi y1=sin(x) y2=cos(x) plot,x,y1 plot,x,y2 plot,x,y1 plot,x,y2 ; compare this to if you plot the same things with !p.multi=[0,2,2] ; this should illustrate the use of the first element.