mgl2cpp1
Execute mathgl scripts to generate c++ code
Usage
mgl2cpp <
scriptfile
>
[outputname]
[parameters]
Overview
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.
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.