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

Home » Public Forums » archive » itools: how to change the legend position ?
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
itools: how to change the legend position ? [message #49180] Wed, 28 June 2006 02:28
Nicolas Decoster is currently offline  Nicolas Decoster
Messages: 34
Registered: March 2000
Member
Hi.

I would to change the position of the legend in an itool.

Here is an example of what I want to do:
-----------------------------
pro ilegend
compile_opt idl2
iplot, indgen(10), /no_saveprompt
void = itgetcurrent(tool = tool)
void = tool->doAction('Operations/Insert/Legend')
;; Below is not valid IDL code but it illustrates what I am
;; looking for
legend = tool->getCurrentLegend()
xOffset = -0.1
yOffset = -0.5
zOffset = 0
legend->translate, xOffset, yOffset, zOffset
end
-----------------------------

Does somebody know how to do that?

Thanks in advance.

Nicolas.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL can't find procedures after changing shell
Next Topic: IDL and C#

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

Current Time: Fri Oct 10 04:30:01 PDT 2025

Total time taken to generate the page: 1.99904 seconds