| 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.
| 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.
s is a string specifying one or more options. The options allowed are:
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 multiCursor Ticks');
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');
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:
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.