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

Home » Public Forums » archive » Another idiosyncracy?
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: Another idiosyncracy? [message #91945 is a reply to message #91943] Mon, 21 September 2015 19:39 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Monday, September 21, 2015 at 7:35:38 PM UTC-4, David Fanning wrote:

> P.S. Let's just say Coyote was right handed and he allowed you to
> specify the left-hand corner, or any other damn location you wanted
> (nine choices!), in cgLegend. :-)

And often one does not want to specify or know the numerical location of the legend, but rather one just wants to place the legend snug in a corner of the plot . Here's how to do this with the direct graphics procedure AL_LEGEND

IDL> cgplot,indgen(10)
IDL> al_legend,['This is a very long title'],lines=0,/right ;Place legend snug in upper right
IDL> al_legend,['short'],lines=1,/bottom,/right ;Place legend snug in lower right
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Legend object without border
Next Topic: Error in IDL-Python Bridge

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

Current Time: Sat Oct 11 03:42:59 PDT 2025

Total time taken to generate the page: 3.84146 seconds