---
name: "mgl2eps"
section: "1"
platform: "linux"
package: "mathgl"
version: "1.11.2-17"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/mgl2eps"
---

# mgl2eps(1)

Execute MathGL scripts to generate Encapsulated PostScript (EPS) output

## NAME

mgl2eps - Execute MathGL scripts to generate Encapsulated PostScript (EPS) output

## SYNOPSIS

mgl2eps \< scriptfile \> \[outputname\] \[parameters\]

## DESCRIPTION

mgl2eps converts mathgl scripts into Encapsulated PostScript (EPS) files, to produce plots of specified functions or data. When called with only the script file name, the program will create an output EPS file in the same directory as the input script, with a .eps extension. Any file entitled "scriptfile.eps" (where scriptfile  is the name of the script being executed) will be overwritten.

## OPTIONS

- **-L**

  Set the locale

- \-N

  Sets the nth parameter, such that -0 is the zeroth parameter. This is supported up to -9. Parameters are passed to the mgl script, and can be used to influence execution.

## SEE ALSO

mgl2png, mgl2gif, mgl2svg, mgl2cpp

## AUTHOR

## AUTHOR

mgl2eps was written by Alexey Balakin http://mathgl.sourceforge.net/

Bugs may be submitted online to the MathGL forums at the above web address.

This build of mgl2eps is released under the GNU General Public Licence version 2 or later Please see the file COPYING for license details.
