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

Home » Public Forums » archive » Re: legend() with a mix of plot() and contour()
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: legend() with a mix of plot() and contour() [message #77976 is a reply to message #77970] Thu, 13 October 2011 09:43 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On 10/12/2011 1:27 PM, Brian J. Daniel wrote:
>
> ; draw the function
> c = contour(r,xx,yy,c_linestyle='__',color='red', C_Value=1.0,
> Name='Circle', /Overplot)
>
> ; add a legend
> l = legend(target=[p,c],position=[0.15,0.85],/Norm)

I think this is a bug; I'll log it. To repair this example, add the
legend element after creating the legend:

l.add, c

mp
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: basic structure question
Next Topic: Re: normalisation of PCA bands

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

Current Time: Fri Oct 10 12:03:33 PDT 2025

Total time taken to generate the page: 0.08233 seconds