CYANA Macro: graf: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
== Parameters ==
== Parameters ==


Line 7: Line 6:
== Description ==
== 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 '''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.
Convert a graphics file into a Postscript plot file. If '''file''' has the extension “.grf”, nothing happens. Otherwise a Postscript file is produced from the corresponding graphics file with extension ".grf". If the option '''replace''' is set, then the graphics file is removed after the Postscript file has been produced.

Latest revision as of 16:23, 12 January 2010

Parameters

file=filename.ps
(required)
replace

Description

Convert a graphics file into a Postscript plot file. If file has the extension “.grf”, nothing happens. Otherwise a Postscript file is produced from the corresponding graphics file with extension ".grf". If the option replace is set, then the graphics file is removed after the Postscript file has been produced.