Re: Adding Legends to Coyote Graphics Windows [message #86880 is a reply to message #86878] |
Mon, 09 December 2013 14:22   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> This allows you to put the legend anywhere you like in the plot window
> (including outside the plot, if you want to). You can center the legend
> box both horizontally and vertically. Or, you can left, right, top, and
> bottom align it. You simply specify a point location, and tell me, with
> the ALIGNMENT keyword, what part of the box should be aligned with that
> point.
Oh, I also fixed it so that I only have to draw things on the plot once.
More or less. I had to use some smoke and mirrors to do this, but it
works pretty good, I think. In PostScript I just write off the page
where you can't see it. :-)
This also works in cgWindows in the usual way.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|