PPLANEfor MATLAB version 4.2
PPLANESetup window there is now a Systems menu. The purpose of the menu is to allow the user to save
PPLANEsystems as disk files, and then to load them from the disk later. A
PPLANEsystem file contains all of the information about a system that is displayed on the
PPLANESetup window, including the dimensions of the display window, and the description of the field to be displayed.
The menu contains three options.
PPLANEsystems which have been previously saved. Selecting one of them will cause that system to be loaded into the Setup window. It will also be added to the Gallery menu.
In order to be listed as a
PPLANE system file, the file must have been
saved with the suffix ".sys".
PPLANEseesion only. The next time
PPLANEis started, the Gallery menu will contain only the standard default systems.
Notice that this option does not result in the system being saved to the disk.
PPLANE, and to provide specific and informative error messages to the user in place of the standard MATLAB error messages. As a result the programs should be much more user friendly. In addition
PPLANEare left in a condition where the user can continue to use them, instead of having to quit and start over, as was so often the case previously.
I have no doubt that there are still some data entry errors that will give rise to MATLAB error messages instead of the more specific messages I am able to provide. If a user can replicate such an error I want to know about it. Please send me email.
pplanefor this purpose.
The variables and the windows they control are:
ForEach of the global variables must be a four vector of the form
DFIELDDFSETPOS % The Setup window DFKBDPOS % The Keyboard entry window DFZOOMBACKPOS % The Zoomback window DFSETTINGSPOS % The Settings window For
PPLANEPPSETPOS % The Setup window PPKBDPOS % The Keyboard entry window PPZOOMBACKPOS % The Zoomback window PPSETTINGSPOS % The Settings window PPEQPTPOS % The Equilibrium point data window PPXYPOS % The Graph window
[left, bottom, width, height].The units are pixels. The fist two define the lower left corner of the window, measured from the lower left corner of the screen. The other two define the size of the window.
The easy way to determine these variables is to let MATLAB do it. Here's how. Open the window of your choice, and use the resizable feature to give it the size and position you want. Then the command
get(gcf,'pos')will give you the required position vector.
For example, if your favorite postion for the
PPLANE Setup Window
>> get(gcf,'pos') ans = 286 93 778 549Then entering
>> global PPSETPOS >> PPSETPOS = [286, 93, 778, 549];will result in the window opening in that position every time during the current session.
To get the new default positions without having to enter them each
time you start up MATLAB, enter them in your
This page is maintained by
John C. Polking, firstname.lastname@example.org
Last modified: Tue May 27 17:34:01 CDT 1997