Tecplot will generate a line plot and then change the name of the first line map to 'MyMap'.
tpmacrostring("$!LINEMAP  NAME = 'MyMap'")
Many Tecplot macros require that arguments to the macro be on separate lines, but the
tpmacrostringfunctions require that the macro command sent to Tecplot be a character vector. These types of commands can be constructed as in the following example. Note that multiple line macros can be combined into a single line as illustrated in this example, but the
tpmacrostringcommand can only execute one macro at a time. If you enter,
O-Matrix will use the mlmode function sombrero to create the following surface plot.
Z = sombrero(20)
If you continue the example by entering
O-Matrix will run a Tecplot macro to re-scale the number of contour levels to 3 and update the surface plot to look like,
cmd = ["$!CONTOURLEVELS RESETTONICE", NEW_LINE," CONTOURGROUP = 1", NEW_LINE, " APPROXNUMVALUES = 3"]