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

Home » Public Forums » archive » Re: Producing graphics without screen display
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: Producing graphics without screen display [message #5517 is a reply to message #5514] Tue, 16 January 1996 00:00 Go to previous messageGo to previous message
M.W.Gardner is currently offline  M.W.Gardner
Messages: 7
Registered: November 1995
Junior Member
Gras Regis <gras@cepax2.observ-gr.fr> wrote:
>
> Is there a way to produce graphics (e.g. in postscript) without displaying
> anything on the screen?
>

Yes! if you use the set_plot command this redirects graphic output to the
specified driver. If you have a program and wish to direct output to a
postscript file then do the following :

> set_plot,'ps'
> device,filename='out.ps'

Subsequent output goes to the postscript file out.ps. See the 'device' manual
page for further options regarding orientation and size. When you have
finished plotting you must then close the file

> device,/close

and reset the output to normal (eg. x windows)

> set_plot,'x'

All the above commands can be incorporated into your program - however I find
that I need a separate graphics routine to reproduce exactly what you see on
the screen in the postscript format - one (of many?) quirks of IDL !

Hope that helps

Matt
--
-----> Matt Gardner EMAIL->m.W.gardner@uea.ac.uk PHONE->+44- 1603-592041
School of Environmental Science,University of East Anglia,Norwich,NR4 7TJ,UK
------------------------------------------------------------ ------------------
opinions are mine - http://www.uea.ac.uk/~e449
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Meteorological Symbol Set
Next Topic: Re: Idl is greedy, once it gets some memory it will NOT release it.

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

Current Time: Wed Oct 29 11:07:20 PDT 2025

Total time taken to generate the page: 1.34398 seconds