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

Home » Public Forums » archive » Is it possible to export graphics objects and direct graphics in the same file?
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
Is it possible to export graphics objects and direct graphics in the same file? [message #59158] Mon, 10 March 2008 14:39
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi people,

In my interface I combine Direct Graphics (plots on WIDGET_DRAWs) and
Graphic Objects (IDLgrImages and IDLgrPlots). When I want to export my
view to PS file I have a problem.
I export the view using IDLgrClipboard:

self.clipboard->SetProperty, DIMENSIONS=dimensions, UNITS=2
self.clipboard->Draw, self.oView, /POSTSCRIPT, /VECTOR,
FILENAME=filename

Then I change the DEVICE to PS and I plot in the same file:

SET_PLOT,'ps'
DEVICE, FILENAME=filename, /COLOR, /HELVETICA, XSIZE=dimensions[0],
YSIZE=dimensions[1]

When I do that the final file is the last that I painted.

Is it possible to export a View with Graphic Objects and Direct
Graphics in the same file ???? Any suggestions?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Simple task manager for parallel processing in IDL
Next Topic: Re: Is it possible to export graphics objects and direct graphics in the same file?

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

Current Time: Fri Oct 10 19:39:48 PDT 2025

Total time taken to generate the page: 0.24230 seconds