Contents Previous Next Subchapters Current Chapters-> tpaddzone tpcolors tpcontour tpdataset tpdims tpexport tpframe tpget tpget3D tphist tpmacrofile tpmacrostring tpmapcopy tpmapcount tpopen tpplot tpplottype tpprint tpput tpput3D tprunning tpstart tpsurface tpsymbols tpvarname tpvarnum tpxyzaxes tpzone tpzonename tpzonenum wtecplot rtecplot pltgui Parent Chapters-> Omatrix6 graphics tecplot tpexport Search Tools-> contents reference index search

Creating Image Files
 Syntax tpexport(file, format) See Also tpopen , tpput , tpplot

Description
Creates image files of Tecplot graphs. The argument file must be a character row vector which specifies the name of the file to be created. If a complete path is not given with the file name the file is created in the O-Matrix cwd . The argument format must be a character row vector which specifies the format of the image file to be created. The value of format must be one of: TIFF, EPS, BMP, PNG, or JPEG.

Examples
If at the O-Matrix prompt you enter,     clear    tpopen    x = 0. : .1 : 2 * pi    y1 = sin(x)    y2 = 2 * sin(x)    y3 = 3 * sin(x)    tpplot(x,[y1, y2, y3], "SOLID", 0.5)    tpexport([OM_INSTALL,"\programs\sin1.png"], "PNG")  Tecplot will create a PNG format image file of the following image in the programs directory of your O-Matrix installation.
If you continue the example by entering     tpopen    tpplot(x,y1, "SOLID", 0.5)    tpplot(x,y2, "SOLID", 0.5)    tpplot(x,y3, "SOLID", 0.5)    tpexport([OM_INSTALL,"\programs\sin2.bmp"], "BMP")  Tecplot will create a BMP format image file of the following image in the programs directory of your O-Matrix installation.