Documentation for pp_lib

Generated by IDLdoc

./

pp_itool_save.pro


top source pp_itool_save

pp_itool_save [, fname] [, isvfile=isvfile] [, epsfile=epsfile] [, iclose=iclose] [, cmyk=cmyk] [, novec=novec] [, id=id]

Saves an itool to and isv and/or an eps file, optionally closing the itool afterwards. Some eps options can be chosen (CMYK colorspace and vector/bitmap use).

Parameters

fname in optional

Name of the file to make, to be used for the isv and the eps files. That is, if name is 'itoolfile', both 'itoolfile.isv' and 'itoolfile.eps' are made.

Keywords

isvfile in optional

Name of the isv file to make. Is ignored if argument file is provided.

epsfile in optional

Name of the eps file to make. Is ignored if argument file is provided.

iclose in optional default=0

If set, the itool is closed after saving.

cmyk in optional default=0

If set, the eps is saved in CMYK colorspace.

novec in optional default=0

If set, the eps file is made a bitmap, instead of vector.

id in out optional

Itool id to use. If not specified, the current is used and its id is returned.

Examples

To make an iplot that does not show up in the screen and is saved and closed automatically:;;

iplot,findgen(10),user_interface='none',/no_saveprompt,/disable_splash

pp_itool_save,'pp_iplotexample',/iclose

Author information

Author:

Paulo Penteado (pp.penteado@gmail.com), Mar/2009

Other attributes

Uses:

Statistics

Lines:
69 lines
McCabe complexity:
16

File attributes

Modification date: Thu Jan 31 16:29:45 2013
Lines: 107
Docformat: rst rst