Re: multiple line plots in colors & legend [message #56191] |
Tue, 16 October 2007 09:32 |
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  |
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
|
|
|
|