Re: Postscript Output with Object Graphics? [message #20282] |
Tue, 06 June 2000 00:00 |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
"Ricardo Fonseca" <zamb@physics.ucla.edu> wrote in message
news:B55D7D75.54D9%zamb@physics.ucla.edu...
> Does anyone know of a way of outputting object graphics 2D models (no
> transparencies involved) to a postscript file as vectors (as opposed to
> rendering the object graphics to an image variable and then displaying it
on
> the postscript device)?
If you have IDL 5.3 or later, check out the documentation for
IDLgrClipboard, in particular the VECTOR keyword for IDLgrClipboard::Draw.
If you don't have IDL 5.3, then you're out of luck.
---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
|
|
|
Re: Postscript Output with Object Graphics? [message #20290 is a reply to message #20282] |
Mon, 05 June 2000 00:00  |
Nicolas Decoster
Messages: 34 Registered: March 2000
|
Member |
|
|
Hi,
Ricardo Fonseca wrote:
>
> Hi everyone,
>
> Does anyone know of a way of outputting object graphics 2D models (no
> transparencies involved) to a postscript file as vectors (as opposed to
> rendering the object graphics to an image variable and then displaying it on
> the postscript device)?
>
> Thanks in advance, Ricardo
You need IDL 5.3 to do this.
IDL> myClipboard = obj_new('IDLgrClipboard')
IDL> myClipboard->Draw, myView, filename = 'gah.eps', vector = 1,
postscript = 1
This way you will have a nearly real vector postscript. I say "nearly"
because text will not be in postscript font : each charachter is drawn
using small triangles.
As discussed a week (or two) ago, if you have graphic atoms that
overlapp but are at a same graphic object Z value the result can be (is
?) different between a vector postscript output and a IDLgrWindow
rendering.
Later.
Nicolas.
--
T�l. : 00 (33) 5 62 88 11 16
Fax : 00 (33) 5 62 88 11 12
Nicolas.Decoster@Noveltis.fr
Noveltis
Parc Technologique du Canal
2, avenue de l'Europe
31520 Ramonville Saint Agne - France
|
|
|