Re: color plot in postscript [message #65761 is a reply to message #65677] |
Fri, 20 March 2009 04:37   |
Jeremy Bailin
Messages: 618 Registered: April 2008
|
Senior Member |
|
|
On Mar 19, 9:55 am, David Fanning <n...@dfanning.com> wrote:
> matteo86bo writes:
>> ah, thank you very much! this works!
>> anyway all the plot is colored... how can I color only the line and
>> not the axis?
>
> Plot, data, Color=FSC_Color('navy'), /NoData
> Oplot, data, Color=FSC_Color('red')
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
That's actually my single biggest pet peeve about the plot command.
Surely there could be a keyword like "axiscolor" or something to
separately specify the colour of the axes+labels from the color of the
plotted data. Every time I do that two-command version I grumble.
"But Jeremy, why don't you just write your own wrapper that does
that?"
Good question... I sense a new addition to JBIU coming. ;-)
-Jeremy.
|
|
|