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

Home » Public Forums » archive » Adding an annotation to an iTool programmatically
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Adding an annotation to an iTool programmatically [message #44234] Wed, 25 May 2005 12:37
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Hi all,

the question below was posted by Mark Rivers on Nov 5, 2003, with no
replies. I also want to add a plot title programmatically, so can
anybody help by now? I am also backing the request for a keyword to add
a title!

Thanks,
Benjamin


"This post is along the lines of some previous ones, but maybe there's
more collective information now?

I have created an iplot display with multiple data sets:
IDL> iplot, findgen(100), name='Plot A'
IDL> iplot, -findgen(100), /overplot, name='Plot B'

I can now interactively select both plots, and then do Insert/Legend,
and I get a nice legend.

However, I don't want to do it interactively, I want to do it from my
IDL code.
Anybody have any examples of how to do that? Similarly I want to add
a "plot title" (like the "title" keyword in direct graphics). Any
ideas? I know these things can be done, but the documentation for
this kind of operation does not exist, and there's a lot of code to
wade through to figure out how to do it.

BTW I think having the equivalent of the direct graphics "title"
keyword for iplot and iimage would be very useful, as would having a
way to display a legend from the iplot command.

Mark"
[Message index]
 
Read Message
Previous Topic: Re: FORMAT FLOATS TO STRINGS WITH 3 DIGITS ONLY
Next Topic: IBETA error message when using TM_TEST function

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

Current Time: Fri Oct 10 15:25:14 PDT 2025

Total time taken to generate the page: 1.36154 seconds