Re: Adding Legends to Coyote Graphics Windows [message #87542 is a reply to message #87537] |
Fri, 14 February 2014 08:11   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> So, there are a lot of smoke and mirror tricks that have be used. One of
> my tricks is to use a pixmap to do the drawing. That works for graphics
> windows, but not for PostScript files. In PostScript files, I tend to
> draw the text off the page and in the background color, hoping no one
> will notice. Obviously, I haven't been totally successful. :-(
Ah, it turns out I *wasn't* doing this in the background color as I
assumed I was. Try this version of the program and see if the results
are any better.
http://www.idlcoyote.com/programs/cglegenditem__define.pro
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.")
|
|
|