Skip to content

idl color plotting on screen and to (postscript) file – somehat obsolete 2014

For a comprehensive description of how to do idl color plotting both to screen and to postscript file,

see http://myweb.facstaff.wwu.edu/~larsonk/docs/idlcolors.pdf

and note that some params may well be set up on your log in to idl, via your file .idlstartup

——————————–

as a (better?) alternative, use Fanning’s color routines, which we have on our system.  Discussion is at http://www.astro.ucla.edu/~mperrin/idl/colors.shtml

To get documentation on fsc_color, type doc_library,’fsc_color’ (recall that this is the format for getting documentation for any non-std idl routine).

HOWEVER SEE POST AUGUST 2014 regarding UPDATE TO FANNING COLOR ROUTINES

Note for example that I got a blue plot with

findgen x(5)

y=sin(300*x)

Plot, x,y, Color=FSC_Color(‘Dodger Blue’)

–Joel

Published inIDL hints

Comments are closed.