tkf2ps

Purpose

Converts a .tkf file to a PostScript file.

Note

This function is deprecated and does not work for the new .plot graphics files. Use plotSave() to convert .plot files to PS format.

Library

pgraph

Format

ret = tkf2ps(tekfile, psfile)
Parameters:
  • tekfile (string) – name of .tkf file.
  • psfile (string) – name of PostScript file.
Returns:

ret (scalar) – 0 if successful.

Remarks

The conversion is done using the global parameters in peps.dec. You can modify these globally by editing the .dec file, or locally by setting them in your program before calling tkf2ps().

See the header of the output PostScript file and a PostScript manual if you want to modify these parameters.