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 #51125 is a reply to message #50873] Sat, 28 October 2006 10:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Benjamin Hornberger writes:

> David Fanning wrote:
>> Did anyone do the iTools tutorial? Do you know how to
>> get the plot title closer to the plot programmatically?
>> Ours is about 5 feet away. :-(
>
> http://tinyurl.com/y3anut or
> http://www.ittvis.com/codebank/search.asp?FID=308 describe how to insert
> the title programmatically (before the keyword VIEW_TITLE was
> introduced). By playing with the coordinates, you should get it to where
> you want it.
>
> Sounds quite complicated at first, but along with the documentation
> (Appendix A in the iTools developer's guide) one can understand it
> eventually.
>
> If you want to move an existing annotation programmatically, you somehow
> have to retrieve that annotation's identifier and modify its properties
> (coordinates). Don't ask me the details, but the iTools developer's
> guide talks about that as well.

As a follow-up to this, I thought I might write a short
article about how to insert a title into the VISUALIZATION
layer, rather than the ANNOTATION layer, so that the title
would move appropriately with the plot itself. I had done
this empirically, but I wanted to know how to do it
programmatically.

To do so, I need to know what in direct graphics
would be ![XY].CRANGE. The essential problem is how do
I extract that kind of information from an iTool plot.

I found an article on the ITT Tech Tip web page that
looked promising:

http://www.ittvis.com/services/techtip.asp?ttid=3812

The title of the article is "In iTools Synchronizing
Annotation Layer Movement With Visualization Layer
Movement". Just what I want to do. The article comes
with 9 pages (!) of heavily annotated IDL code that
explains how this is done. Interesting reading.

Unfortunately, when you get to the end of all that
typing, the darn thing doesn't work. Doesn't come
close to working, as far as I can tell. The colorbar
doesn't even line up with the axes, let alone move
with it. And it doesn't matter if I type the commands,
or I use the very helpful code that can be downloaded
from the tip page. Alas, NOTHING works!

Does anyone have any idea how I might be able to
do something like this?

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 18:31:39 PDT 2025

Total time taken to generate the page: 0.00235 seconds