Edit Graphs

MathGrapher offers extensive editing options: such as axis types, annotation, line and symbol colors, styles, shading and contouring colors, light position, surface orientation. Several graphs can be drawn in the Graphical Windows and other drawing elements can be added such as text, lines, symbols.

Import – Export

Mathematical functions defined in MathGrapher can be saved. The Function files have default extension .fct. Some predefined example files containing 2D and 3D functions, iterative maps and well-known ODE’s are placed in the MathGrapher directory during installation.


Data can be imported into the grid in 4 ways:

  • Direct editing/writing in the grid cells.
  • Copy and paste from a tab separated data grid such as Microsoft Excel, or from a tab-separated text file.
  • Opening a data file that was previously saved by MathGrapher (default extension .dat).
  • Reading data points from a drawn graph and putting them in the data grid by clicking on the graph (after clicking the “Read data from Graph” button on the Data panel. You may also read data from an imported graph after setting the axis scaling (see the example in the Help file).

Data can be exported by:

  • Copying and pasting into another Windows application.
  • Saving the Data in a file (default extension .dat).
  • Printing the data.

Bitmap or JPEG files can be imported into MathGrapher’s graphical windows (the Graph window, the 3D Viewer and the Pixel window). Graphs drawn in MathGrapher can be printed, saved to the Windows Clipboard or exported in the following formats:

  • Bitmap (BMP)
  • JPEG
  • Encapsulated Postscript (EPS)
  • Windows Metafile (WMF)
  • Portable Network Graphics (PNS)

EPS files can be viewed with postscript viewers such as GSview (and Aladdin Ghostscript), which is freely available at http://www.cs.wisc.edu/~ghost/. GSview can also convert .eps files to other formats: .bmp, .jpg etc. WMF (Windows MetaFiles) can be imported directly into Microsoft Applications such as Word and Excel.


The results from mathematical operations such as calculation of zeroes, extrema and the results of curve fitting procedures are written in an ASCII file ‘Results.out’. The The contents of this file are presented in a separate Results window. Results from Iterations and from Integration of ODE’s may be put in a data grid from where they can be exported (see export of Data).