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

Home » Public Forums » archive » 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
What am I doing wrong with al_legend? [message #78727] Tue, 13 December 2011 09:47
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
I'm trying to create a legend with al_legend, and I thought i was following all the rules, but I just can't get the symbols in the legend to come up as anything other than whatever symbol I just used to plot the last line of data with.

In this example, legtxt is a 8-dimensional string array

clrs=['black','red','org5','blue','grn4','orange','violet',' dodger blue']
sym=[16,16,16,16,16,16,16,16]
AL_legend,legtxt,psym=sym,color=clrs,pos=[65,0.5],box=0,/WIN DOW

(I've also tried "colors" as the keyword instead of "color")

All my symbols in the legend end up as the same color and shape as the command I last used on the plot to overplot data with. What am I missing?

Thanks for any help!
[Message index]
 
Read Message
Previous Topic: Coyote Graphics Updates
Next Topic: Re: Coyote Graphics Updates

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

Current Time: Fri Oct 10 10:20:35 PDT 2025

Total time taken to generate the page: 1.91613 seconds