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

Home » Public Forums » archive » Re: Title in iPlot
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: Title in iPlot [message #50871 is a reply to message #50870] Thu, 19 October 2006 15:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman writes:

> gtitle = 'This is the Title'
> idAnnotate = itool_obj -> FindIdentifiers('*/ANNOTATION LAYER')
> oAnnotate = itool_obj -> getByIdentifier(idAnnotate)
> oAnnotate -> add, OBJ_NEW('IDLitVisText', _STRING = gtitle, $
> ALIGNMENT = 0.5, $
> VERTICAL_ALIGNMENT = 1.0, $
> FONT_SIZE = 24, $
> LOCATION = [0.0, 0.70, 0.99])

There must be some good reason why the Annotation Layer
is specified in Normalize coordinates and the rest of
the Plot stuff is in Data coordinates, but it escapes
me right now. In any case, having the Plot title in
normalized coordinates causes the title to bounce
around quite a bit as you resize the window. It starts
out just right, then it gets far away again, now it
jumps right into the plot!

Is there a way to put the title in the Visualization
layer so I can specify its location in data coordinates?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Image and ROI Help
Next Topic: Re: Missing data and MPFITFUN

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

Current Time: Wed Oct 08 15:47:07 PDT 2025

Total time taken to generate the page: 0.00407 seconds