Re: color plot in postscript [message #65760 is a reply to message #65677] |
Fri, 20 March 2009 05:47   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Jeremy Bailin writes:
> 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. ;-)
It is truly amazing with what we put up with sometimes.
But, writing the wrapper would irritate me even more.
Why am I supporting this stupid color index way of
specifying color when I don't use it anymore, ever,
unless under duress and because IDL forces me to?
When I write programs that use color, I want to use
*names* of colors, not some color index that means
nothing to me or to any of my users when they read
the code. I used to think I was tying to impose my
own person belief system on users when I made them
use a color name rather than a color index. But then
I thought, hell, just because I'm too old to care
about offending someone doesn't mean I'm not right
about it. ;-)
Cheers,
David
P.S. When you write this wrapper think long and
hard about whether this keyword is going to be
AXISCOLOR or AXESCOLOR, because no matter which
you choose, you are going to lose sleep over it. :-)
--
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.")
|
|
|