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

Home » Public Forums » archive » legend() with symbols
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
legend() with symbols [message #88767] Tue, 17 June 2014 09:33 Go to previous message
Gordon Farquharson is currently offline  Gordon Farquharson
Messages: 48
Registered: December 2010
Member
Hi All

Is there any way to change the behaviour of legend() when using symbols in a plot? For example, the following code produces a legend, but the legend text is preceded by three '+' symbols, instead of the more traditional single '+'. While the output is not incorrect, it does look a little odd.

lp1 = plot(findgen(10), NAME='Test', LINESTYLE='None', SYMBOL='+')
lg1 = legend(TARGET=lp1, POSITION=[0.1,0.9], HORIZONTAL_ALIGNMENT='LEFT', $
/RELATIVE)

Gordon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HISTOGRAM
Next Topic: MONTHS IN PLOT

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

Current Time: Wed Oct 08 11:47:36 PDT 2025

Total time taken to generate the page: 0.00250 seconds