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
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.")
|
|
|