Re: saving a plot

From: Manfred Hanke <Manfred.Hanke_at_email.domain.hidden>
Date: Thu, 19 Feb 2009 10:10:18 +0100
Hi,

> On Feb 18, 2009, at 5:29 PM, Herbert Pablo wrote:
>> This seems like a rather rudimentary question, but I couldn't find it 
>> anywhere
>> in the manual. If I wanted to save a plot that I made as a postscript 
>> file or
>> another image type (i'm not picky), is there a way to do this.
>
> Michael Nowak wrote:
>     variable id = open_plot("filename.ps/vcps");
>     plotting commands ...
>     close_plot(id);
> Supported devices include ps/cps/vps/vcps  (the last is "vertical 
> color postscript", etc.).
> See the open_plot help file.
The list of devices you can use actually depends on your installation of 
PGPLOT -- and not on ISIS.
When PGPLOT is compiled, the file drivers.list is parsed.
Using the PGPLOT which comes with the HEASOFT package, I can enquire the 
list of enabled drivers in my installation of HEASOFT 6.6.1 with
   grep -v ^\! $HEADAS/../tcltk/pgplot/drivers.list
i.e.
   grep -v ^\!  /installation_path/headas-6.6.1/tcltk/pgplot/drivers.list
-- but your source code might be at a different location (if it is still 
there at all).

For more information on PGPLOT devices, see 
http://www.astro.caltech.edu/~tjp/pgplot/devices.html.

Cheers,

Manfred

-- 
Manfred Hanke      Manfred.Hanke(at)sternwarte.uni-erlangen.de
Dr. Karl Remeis-Observatory,  University of Erlangen-Nuremberg
Sternwartstrasse 7,      96049 Bamberg, Germany
phone: ++49 951 95222-34                fax: ++49 951 95222-22
  web: http://pulsar.sternwarte.uni-erlangen.de/hanke
--

----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Thu Feb 19 2009 - 04:10:33 EST

This archive was generated by hypermail 2.2.0 : Thu Feb 19 2009 - 05:58:59 EST