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 #91946 is a reply to message #91945] Mon, 21 September 2015 19:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wlandsman writes:

>
> 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

In truth, Coyote probably stole most of the code from AL_Legend. He told
me once that almost all of his good ideas were first thought up at NASA.
;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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: Fri Oct 10 05:39:25 PDT 2025

Total time taken to generate the page: 0.48092 seconds