What am I doing wrong with al_legend? [message #78727] |
Tue, 13 December 2011 09:47 |
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!
|
|
|