
1382 LINEAR PARTIAL DIFFERENTIAL EQUATIONS W ITH MATLAB
R
0
1
2
3
0
2
4
6
−6
−4
−2
0
2
Color: u Height: u
−5
−4
−3
−2
−1
0
Figure 24.3 Surface plot of the so lution of the linear Poisson equation.
etc. Then, selecting
Solve->Solve PDE
, we obtain the numerical solution. By default, the solution
appears as a color-scale contou r plot.
6
◦
. By selecting
Plot->Parameters
, we can set various options for generating a figure, e.g.,
Height (3-D plot)
,
Plot in x-y grid
,
Color
,
colormap
(
gray
), and
Show Mesh
. T hen, by selecting
the mesh and
Edit->Current Object Properties
, we can edit the plot obtained (in the MATLAB
graphics editor) and create the final plot shown in Fig. 24.3).
Remark. ...