comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: multiple line plots in colors & legend
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: multiple line plots in colors & legend [message #56191] Tue, 16 October 2007 09:32 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
> I looked at David's FSC_color (sp?), but I don't want to call them by
> name, I want the computer to do it for me :-)

Why not make a string array of the color names in FSC_COLOR() that you
like and that are distinct. Then you could loop over the string
array.

col = ['blue','red','orange','green','dark goldenrod','firebrick']
for k=1,n do oplot,a,b[i],color=fsc_color(col[i])

(FSC_COLOR() seems pretty smart about these things but it might be
better to specify a distinct color index for each color.)

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: ENVI ROUTINES
Next Topic: Envi Routines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:10:03 PDT 2025

Total time taken to generate the page: 0.00656 seconds