Adding annotation to an itool [message #36894] |
Tue, 04 November 2003 21:48 |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
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
|
|
|