You may want to set your terminal type to avoid having to specify it everytime you use mplot or cplot. If you are running X-windows, set the DISPLAY environmental variable properly and insert the statement
setenv USRTERMTYPE Xin your .login file or simply type it in if you are not usually using X-windows.
If you are running from a Tektronix 4100-series terminal or emulator, replace 'X' by 'tek4105'. Similarly, for the Tektronix 4000-series, replace 'X' by 'tek4010' or 'tek4014'.
The default contour package is MINDIS, creating black and white line contour plots. To make PLOTMTV your default contour package, execute the command, either manually or in your .login file:
# # MTV environment # setenv CON_PACKGE MTV setenv MTV_WRB_COLORMAP "ON" setenv MTV_COLORMAP hot setenv MTV_PRINTER_CMD "lpr" setenv MTV_PSCOLOR "ON"
The 'hot' colour scale is chosen in this case, overwriting the WRB colorscale which is a red-to-blue colorscale close to the classical one used e.g. in acoustics, e.g. in Ref. [3]. The other variables should be self-explanatory. The 'hot' colourscale has the advantage that it yields a gradual greytone scale when printed on a b/w printer. The default MATLAB color scale is 'jet'.
Similarly, version 2.1 and later include a filter plp2mtv which translates the line plot plp and plt files to an mtv file and executes plotmtv. This filter may be used directly as a plot command instead of mplot file
plp2mtv file
Alternatively, plotmtv may be chosen as the default line plot package used by the mplot command by setting an environment variable:
setenv PLP_PACKGE MTV
It should be noted that some mplot options may not be fully supported by plp2mtv.