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 #91963 is a reply to message #91950] Wed, 23 September 2015 12:22 Go to previous messageGo to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
Thanks! These options work, but this approach is so not obvious to me from the documentation. Under "position," it says

"Set this property to set the location of the legend. POSITION is specified as a 2 element vector: [X, Y], defining the upper right corner of the legend. If the DEVICE property is set, the units are given in device units (pixels)."

OK, the location given refers to the upper right corner. For "vertical_alignment," which I originally thought applied to the text, not the box itself, it says

"The vertical alignment of the legend with respect to the position. This is a value between 0 and 1 where 1 specifies top aligned (the default)."

Given the prior statement, I have no idea what this means. After seeing your examples, I would say that the description of "position" is completely lacking. It should say "upper right" is the default, but that this can be changed using the "alignment" options.

How do you guys learn this stuff, a lot of trial and error? I really appreciate your help.
[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 04:55:26 PDT 2025

Total time taken to generate the page: 1.75605 seconds