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

Home » Public Forums » archive » Re: What am I doing wrong with al_legend?
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: What am I doing wrong with al_legend? [message #78722 is a reply to message #78721] Tue, 13 December 2011 11:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

> I just updated to the latest Coyote Graphics on your site, updated al_legend, restarted IDL - no luck. So strange!
>
> David - are you also seeing the correct symbol=16 shape?

Apparently so. Here is the code I used to test it:

cgplot, cgdemodata(1), /window, yrange=[-100,100]
clrs=['black','red','org5','blue','grn4',$
'orange','violet','dodger blue']
sym=[16,16,16,16,16,16,16,16]
legtxt = StrTrim(Indgen(8)+1)
AL_legend,legtxt,psym=sym,color=clrs,$
pos=[65,0.5],box=0,/WINDOW


And here is the output:

http://www.idlcoyote.com/misc/al_legend_ex.png

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Coyote Graphics Updates
Next Topic: idl crash with ps_end and fixps

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

Current Time: Wed Oct 08 19:14:24 PDT 2025

Total time taken to generate the page: 0.00486 seconds