CYANA Macro: graf: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
Line 2: Line 2:
== Parameters ==
== Parameters ==


; file=''filename''.ps             (required)
; file=''filename''.ps: (required)
; replace
; replace



Revision as of 14:24, 12 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.