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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: multiple line plots in colors & legend [message #56191] Tue, 16 October 2007 09:32
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
Re: multiple line plots in colors & legend [message #56194 is a reply to message #56191] Tue, 16 October 2007 07:17 Go to previous message
rkombiyil is currently offline  rkombiyil
Messages: 59
Registered: March 2006
Member
On Oct 16, 4:51 pm, Tal <t...@bar-kal.com> wrote:
> Hi,
>
> All you're asking for exists in ENVI_PLOT_DATA, but requires ENVI to
> be running during your session.
> if you have ENVI that is a straight forward solution. read the help.
>
> cheers,
> Tal

Thanks for the reply. Umm, I don't have access to ENVI. Our school has
stone age version (5.x) for Unix. Hence, I was looking for procedures/
functions written already by somebody else. I guess I can neither have
the cake nor eat it, heh!
~rk
Re: multiple line plots in colors & legend [message #56200 is a reply to message #56194] Tue, 16 October 2007 00:51 Go to previous message
Tal is currently offline  Tal
Messages: 26
Registered: August 2007
Junior Member
Hi,

All you're asking for exists in ENVI_PLOT_DATA, but requires ENVI to
be running during your session.
if you have ENVI that is a straight forward solution. read the help.

cheers,
Tal
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ENVI ROUTINES
Next Topic: Envi Routines

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

Current Time: Wed Oct 08 13:43:30 PDT 2025

Total time taken to generate the page: 0.00611 seconds