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

Home » Public Forums » archive » changing the format of axis
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: changing the format of axis [message #78458 is a reply to message #78363] Wed, 23 November 2011 10:31 Go to previous messageGo to previous message
khorsand10 is currently offline  khorsand10
Messages: 12
Registered: November 2011
Junior Member
On Nov 23, 6:20 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>
>> khorsan...@yahoo.com writes:
>
>>> I installed the Coyote Library on my IDL path but now got the
>>> following system error:
>>> CGPLOT-->Expression must be a scalar or 1 element array in this
>>> context<Byte Array[3]>.
>
>>> It's probably because I used '/overplot' or a value color like
>>> 'color=[0,0,0].
>>> Do you know how I can fix it?
>
>> Yes, use color names: color="black".
>
> By the way, if you didn't want to use color names for
> some reason (e.g., you prefer writing obscure code that
> nobody can understand or you are so anal that you can't
> abide any of the 200 standard colors provided) you can
> always convert your color triple to a 24-bit value that
> can be used by Coyote Graphics routines:
>
>    cgPlot, data, COLOR=Color24([154,93,243])
>
> I've been thinking of adding this to the Coyote Graphics
> commands directly, but haven't gotten around to it yet. It
> won't happen today, because if I don't start cleaning the
> house ASAP I'll be living in the same dog house Coyote is
> living in!
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

That's a good idea David since it doesn't accept some names for
colors.
Lol, I think my room is more like my IDL codes folder.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gdl 0.9.2 delivered
Next Topic: IDL tools

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

Current Time: Wed Oct 08 17:24:57 PDT 2025

Total time taken to generate the page: 0.00239 seconds