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

Home » Public Forums » archive » Re: 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
Re: Is it possible to export graphics objects and direct graphics in the same file? [message #59157] Mon, 10 March 2008 14:52
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bernat writes:

> 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?

From within IDL!? You didn't believe all those warnings about
not mixing object graphics and direct graphics, huh?

I don't think so.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Is it possible to export graphics objects and direct graphics in the same file?
Next Topic: Re: ENVI header files in IDL

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

Current Time: Fri Oct 10 15:09:42 PDT 2025

Total time taken to generate the page: 1.52014 seconds