Re: Poscript Component Selection [message #45526 is a reply to message #45525] |
Mon, 12 September 2005 15:17   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
IDLmastertobe writes:
> partial code:
> sState.oVols[sState.iVrendVol]->SetProperty, $
> HIDE=1-vol_rend
> demo_draw, sState.oWindow, sState.oView, debug=sState.debug
> sState.oVols[sState.iVrendVol]->SetProperty,HIDE=1
> oImage = sState.oWindow->Read()
> oImage->GetProperty,DATA=data
> OBJ_DESTROY,oImage
>
> im3d=data
>
> !P.FONT=0
>
> ; Set the plotting device to PostScript:
> SET_PLOT, 'ps'
>
> LOADCT, 0
>
> ; Write the image to the file:
> ;TV, [[[r]], [[g]], [[b]]], TRUE=3
>
> TVSCL, im3d, TRUE=1
> ; Close the file:
> DEVICE, /CLOSE
> set_plot,'win'
Oh, dear. Not exactly the "object graphics way", is it? :-(
I'm sure Mike will be able to set you straight. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|