Re: Poscript Component Selection [message #45517 is a reply to message #45516] |
Mon, 12 September 2005 18:38   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
IDLmastertobe writes:
> Thank you Dr.Fanning. I think the following code is the demo_draw module
> the previous programmer used. I think this is the one:
>
> http://funk.on.br/rguimara/RSI/IDL54/examples/demo/demosrc/d emo_draw.pro
Reading RSI-supplied code is always illuminating, in
an odd sort of way, isn't it? :-)
OK, find this line in the DEMO_DRAW:
oWindow->Draw, oView
And after it, try this:
clipboard = Obj_New("IDLgrClipboard", Dimensions=[4,3], Units=1, $
Resolution=[2.54/300., 2.54/300.])
clipboard->Draw, oView, Filename='myfile.eps', /PostScript, /Vector
Obj_Destroy, clipboard
But, I agree with Mark. I don't think it has much of a chance
of actually working.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|