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 #78456 is a reply to message #78363] Wed, 23 November 2011 13:18 Go to previous messageGo to previous message
manodeep@gmail.com is currently offline  manodeep@gmail.com
Messages: 33
Registered: June 2006
Member
On Nov 23, 12:27 pm, khorsan...@yahoo.com wrote:
> On Nov 23, 6:09 pm, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>
>
>
>
>> 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".
>
>> 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.")
>
> Thanks David. I used Al_Legend to add the legend. it added the items
> but didnt add the colors. it seems Al_Legend function just accepts
> psym and not color.
> al_legend,['Urban','Forest','Water'],color=['black','green', 'blue']

If all you want are the names of the "items" written in various colors
then you should use textcolor=['black',..]
[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: Sun Oct 26 18:20:25 PDT 2025

Total time taken to generate the page: 2.55883 seconds