Partial Differential Equation Toolbox    

Plot Menu

Plot Solution
Display a plot of the solution.
Parameters . . .
Open dialog box for plot selection.
Export Movie . . .
If a movie has been recorded, the movie matrix M is exported to the main workspace.

Parameters . . .

Plot Selection Dialog Box

Parameters . . . opens a dialog box containing options controlling the plotting and visualization.

The upper part of the dialog box contains four columns:

A colorbar is added to the plots to map the colors in the plot to the magnitude of the property that is represented using color or contour lines.

For the generic system case, the properties available for visualization using color, contour lines, or z-height are u, v, abs(u,v), and a user entry. For visualization using arrows or a deformed mesh, you can choose (u,v) or a user entry. For applications in structural mechanics, u and v are the x- and y-displacements, respectively.

For the visualization options in the other application modes, see Application Modes. Note that the variables available in the local workspace for a user entered expression are the same for all scalar and system modes (the solution is always referred to as u and, in the system case, v).

A total of three properties of the solution -- two scalar properties and one vector field -- can be visualized simultaneously. If the Height (3-D plot) option is turned off, the solution plot is a 2-D plot and is plotted in the main axes of the pdetool GUI. If the Height (3-D plot) option is used, the solution plot is a 3-D plot in a separate figure window. If possible, the 3-D plot uses an existing figure window. If you would like to plot in a new figure window, simply type figure at the MATLAB command line.

Additional Plot Control Options

In the middle of the dialog box are a number of additional plot control options:

For the parabolic and hyperbolic PDEs, the bottom right part of the dialog box contains an additional option:

add d15_gv here:

(

Time for plot. A pop-up menu allows you to select which of the solutions to plot by selecting the corresponding time. By default, the last solution is plotted.

Also, the Animation plot type is enabled. In its property field you find an Options . . . button. If you press it, an additional dialog box appears. It contains parameters that control the animation:

For eigenvalue problems, the bottom right part of the dialog box contains a pop-up menu with all eigenvalues. The plotted solution is the eigenvector associated with the selected eigenvalue. By default, the smallest eigenvalue is selected.

You can rotate the 3-D plots by clicking the plot and, while keeping the mouse button down, moving the mouse. For guidance, a surrounding box appears. When you release the mouse, the plot is redrawn using the new viewpoint. Initially, the solution is plotted using -37.5 degrees horizontal rotation and 30 degrees elevation.

If you click the Plot button, the solution is plotted immediately using the current plot setup. If there is no current solution available, the PDE is first solved. The new solution is then plotted. The dialog box remains on the screen.

If you click the Done button, the dialog box is closed. The current setup is saved but no additional plotting takes place.

If you click the Cancel button, the dialog box is closed. The setup remains unchanged since the last plot.


  Solve Menu Window Menu