CYANA Macro: graf: Difference between revisions
m (1 revision) |
|||
Line 7: | Line 7: | ||
== Description == | == Description == | ||
Convert | Convert an INCLAN graphics file with file name extension “.grf” into a Postscript file or a PDF file. If '''file''' has the extension “.grf”, nothing happens. If ''file'' has the extension “.ps”, a Postscript file ''file''.'''ps''' is produced from the input graphics file ''file''.'''grf'''. In all other cases a file with the given name and file name extension is produced, where the extension defines the type of the output file. The external Linux command '''ps2'''''xxx'' is used to convert the intermediate Postscript file into the output file ''file.xxx'' of type ''xxx''. For instance, the command '''graf plot.pdf''' will read the input INCLAN graphics file '''plot.grf''' and convert it into the PDF file '''plot.pdf'''. If the option '''replace''' is set, then the graphics file is removed after the conversion. | ||
extension | |||
from the | |||
replace is set, then the graphics file is removed after the | |||
Revision as of 13:04, 7 August 2009
Parameters
- file=filename.ps (required)
- replace
Description
Convert an INCLAN graphics file with file name extension “.grf” into a Postscript file or a PDF file. If file has the extension “.grf”, nothing happens. If file has the extension “.ps”, a Postscript file file.ps is produced from the input graphics file file.grf. In all other cases a file with the given name and file name extension is produced, where the extension defines the type of the output file. The external Linux command ps2xxx is used to convert the intermediate Postscript file into the output file file.xxx of type xxx. For instance, the command graf plot.pdf will read the input INCLAN graphics file plot.grf and convert it into the PDF file plot.pdf. If the option replace is set, then the graphics file is removed after the conversion.