mgl2cpp(1) Execute MathGL scripts to generate C++ code


mgl2cpp < scriptfile > [outputname] [parameters]


mgl2cpp converts mathgl scripts into a text file containing the C++ code required to produce plots of specified functions or data. When called with only the script file name, the program will create an output file in the same directory as the input script, with a .cpp extension. Any file entitled "scriptfile.cpp" (where scriptfile is the name of the script being executed will be overwritten.


Set the locale

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.


mgl2cpp was written by Alexey Balakin

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

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