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

Home » Public Forums » archive » 2 questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 2 questions [message #57492 is a reply to message #26318] Tue, 11 December 2007 11:40 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nakisa writes:

> 1) How can I convert the plotted figure to eps format?

You don't usually "convert" anything. You either draw
your figure to the display device, or you draw your
figure to the PostScript device. Suppose you wrote
an IDL program named DRAWPLOT to draw a graphics plot:

IDL> Drawplot, mydata

Then to draw the same plot in a PostScript file
(assuming the code is written correctly), you would
do something like this:

thisDevice = !D.Name
keywords = PSConfig(/Encapculated, _Extra=PSWindow(), Cancel=cancel)
IF ~cancel THEN BEGIN
Set_Plot, 'PS'
Device, _EXTRA=keywords
Drawplot, mydata
Device, /Close
Set_Plot, thisDevice
ENDIF

> 2 ) I use "trigrid " for plot a three dimensional, is it possible to
> plot contour in the same plot ?

If you have set up a 3D coordinate system (by typing a command like
SURFR, or SCALE3D, or even SURFACE), then you can make a CONTOUR
command use the save 3D coordinate system by setting the T3D keyword.

You will find LOTS of information about producing PostScript output
on my web page. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Grudging Praise for IDL 7.0
Next Topic: Completing a Gaussian Fit

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

Current Time: Thu Oct 09 02:46:28 PDT 2025

Total time taken to generate the page: 0.32179 seconds