Re: Object Graphics --> EPS Output how? [message #26785 is a reply to message #26732] |
Wed, 26 September 2001 16:55   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Hadfield (m.hadfield@niwa.cri.nz) writes:
> Output destination & format is controlled through keywords to the
> IDLgrClipboard::Draw method. To send EPS output to a file the basic sequence
> of operations is
>
> myview = [Create & populate your IDLgrView here]
> myclipbrd = obj_new('IDLgrClipBoard']
> myclipbrd->Draw, /VECTOR, /POSTSCRIPT, FILENAME=[your file name here]
> obj_destroy, myclipbrd
>
> The name "IDLgrClipboard" is a little confusing. It was originally intended
> only for output to the system clipboard, but then the IDL developers
> thought, "Hey, we could use this to write files too."
I just point out what is probably obvious: this
produces PostScript output, not *encapsulated*
PostScript output as was requested in the original
post.
To get encapsulated PostScript output, you have
to convert PostScript files somewhere other than in
IDL.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|