tkf2eps

Purpose

Converts a .tkf file to an Encapsulated PostScript file.

Note

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

Library

pgraph

Format

ret = tkf2eps(tekfile, epsfile)
Parameters:
  • tekfile (string) – name of .tkf file.
  • epsfile (string) – name of Encapsulated 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 tkf2eps().

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