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

Home » Public Forums » archive » adding legend with cgzplot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
adding legend with cgzplot [message #83173] Fri, 08 February 2013 02:52
abc is currently offline  abc
Messages: 46
Registered: March 2011
Member
Hi,
I want to add the legend in the plot. And for making plots I am using cgZplot. But I don't know how to add legend with that. This is how I am doing but it doesn't work.

oplotObj = Obj_New('CGOVERPLOT',a,b,color='red')
cgZplot,c,d,color='black',OPLOTS=oplotObj
legend,['Temp','Days'],linestyle=[0,0],color=['black','red']


Does anyone know how to do that
thanks in advance
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 8.2.2 released
Next Topic: Re: adding legend with cgzplot

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

Current Time: Wed Oct 08 15:27:34 PDT 2025

Total time taken to generate the page: 0.57495 seconds