Options







HelpFile

plt(...,'HelpFile','filename'); Specifies the left click actions of the Help tag:

If the filename is specified with complete path information the helpfile will be read from the specified location. If no path information is included, plt looks for this file on the Matlab path (except for compiled applications in which case plt looks for the file in the same folder that contains the executable). The file extension must be included in the filename string since the extension determines which application is used to open the help file. (If you don't include an extension plt will assume that it is an executable command, and plt will simply call that executable when you click on the Help tag.) The extension may be .html, .pdf, or .chm, or any file type that your operating system knows how to open. (Usually chm files are only supported on PC systems.) Assuming the help file is found, it will be opened when you left-click on the help tag. Also if the file specified is a chm file, then it also may be followed by a topic specifier which causes the chm file to open pointed at the chosen topic. (The examples plt.m and julia.m demonstrate how to specify a chm topic.) If this parameter is not included, left-clicking on the help tag will open the default plt help file (plt.chm on Windows systems and the file plt.htm otherwise). If both plt.chm and plt.htm are not found, then one of the files xxx.chm, xxx.htm, or xxx.pdf will be opened where "xxx" is the current figure name. If none of those files are found, a warning message will appear indicating that no help files were found. The demo programs demo\plt5.m and demo\julia.m demonstrate the use of the HelpFile parameter to open a chm file at a specified topic.

HelpFileR

plt(...,'HelpFileR','filename'); Specifies the right click actions of the Help tag:

The rules for finding the help file are the same as described above for the HelpFile parameter. Assuming the help file is found, it will be opened when you right-click on the help tag. If this parameter is not included, right-clicking on the help tag will open the default plt help file. Often the help tag left click will be used for help on the plt plotting package and the right click will be used for help on the currently running program. Or the roles of left and right clicks may be reversed. The demo program demo\plt50.m gives an example of using the HelpFileR option.

Options

plt(...,'Options',s);

s is a string specifying one or more options. The options allowed are:

'Ticks' Use tick marks (i.e. no grid lines)
'Menu' Enable the figure menu bar
'xView' Enable the xView slider
'Slider' Enable the x-axis control slider
'Xlog' use logarithmic scaling on the x axis
'Ylog' use logarithmic scaling on the y axis
'multiCur' Enable the multiCursor
'Nocursor' Tells plt to hide all cursor objects. They may be re-enabled with the command: plt('cursor',0,'set','visON');
'Hidden' Tells plt to exit with the plot figure as usual, but leave the figure window hidden.
'Linesmoothing' Tells plt to use Matlab's line smoothing algorithm (anti-aliasing) for all traces. The line smoothing property may also be controlled from the cursor button group which is described in the Cursoring section. Be aware that line smoothing probably will not work on versions of Matlab older than about 2008. Also the line smoothing property is ignored in version Matlab R2014b or later. I believe this is because the newer graphics engine introduced with R2014b is supposed to smooth the lines all the time. (It doesn't work on my five year old computer however, even with updated graphics drivers. I actually get better looking plots using R2014a or earlier although I suspect with newer hardware R2014b will have the advantage.)
'-Help'
'+Help'
removes/adds the Help tag from the menu box
'-Xlog'
'+Xlog'
removes/adds the LinX/LogX tag from the menu box
'-Ylog'
'+Ylog'
removes/adds the LinY/LogY tag from the menu box
'-Print'
'+Print'
removes/adds the Print tag from the menu box
'-Grid'
'+Grid'
removes/adds the Grid tag from the menu box
'-Figmenu'
'+Figmenu'
removes/adds the Menu tag from the menu box
'-Mark
'+Mark'
removes/adds the Mark tag from the menu box
'-Zout
'+Zout'
removes/adds the Zout tag from the menu box
'-Rotate'
'+Rotate'
removes/adds the XYrotate (XY↔) tag from the menu box
'-All'
'+All'
removes /adds all menu box items

These options strings are case sensitive and in fact only the capital letters are significant. You can add whatever lower case letters, spaces and other delimiters that you want to make the string more readable. For example suppose you wanted the display to initialize with the menu bar and multiCursor enabled and the grid lines off. Any of these commands would achieve that goal:
   plt(...,'Options','Menu','Options','multiCur, Ticks');
   plt(...,'Options','Menu multiCursor Ticks');
   plt(...,'Options','MCT');
   plt(...,'Options','M,C,T');

In addition to those options, suppose you wanted to remove the "Grid" tag from the menuBox. Then we would use something like one of the following:
   plt(...,'Options','Menu Cur Tick -Grid');
   plt(...,'Options','MCT-G');

You can also use a plus sign on the menu box tags if you would rather specify which tags to include instead of which tags to remove. For example, both of the following commands would remove all the menu box items except for the x and y axis lin/log controls:
   plt(...,'Options','-H-G-F-M-Z-R');
   plt(...,'Options','+X+Y');
Note that the Print menu box tag is unique in that it is off by default and will only appear when +P appears in the Options string. If you remove all menu box items (i.e.  'Options','-A'), the box outline is not displayed as well.