comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Postscript Output with Object Graphics?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Postscript Output with Object Graphics? [message #20282] Tue, 06 June 2000 00:00
Mark Hadfield is currently offline  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 Go to previous message
Nicolas Decoster is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ATAN function with two ARGS
Next Topic: ATAN function with two ARGS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 02:33:55 PDT 2025

Total time taken to generate the page: 1.12243 seconds