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

Home » Public Forums » archive » Re: Legend for plot
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 for plot [message #67978 is a reply to message #67975] Tue, 15 September 2009 21:40 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Sep 16, 1:19 am, pp <pp.pente...@gmail.com> wrote:
> The third window is created by your call to plot. Plot is a direct
> graphics routine, so it cannot draw on your widget_draw. You must put
> object graphics in your view object, as you did with the legend. For a
> plot, it usually means making and setting up a bunch of them (plots,
> axes, titles, symbols). I usually prefer to make an invisible iplot
> and borrow its view object, so that iplot does all the work of making
> and setting up the objects in the plot.
>

I was just looking at your original post. I was assuming what you
wanted to know was how to put object graphics (the legend object, in
that case) into a draw widget, and that is what I was talking about.
But it just occurred to me that the original question might have been
just how to put a legend into a direct graphics draw widget, which
should not (cannot) be done with the object legend you were trying to
use, it should be done with xyouts. Which one is it that you wanted?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL on the web?
Next Topic: iplot colorbar label

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

Current Time: Fri Oct 10 14:07:19 PDT 2025

Total time taken to generate the page: 1.44104 seconds