Next: , Previous: , Up: First steps   [Contents][Index]


3.3 Plotting

It is possible to plot mesh, solution, coefficient, the graph of the stiffness matrix, or globally defined functions on a domain. We illustrate this on the example from Stationary diffusion problem. When this example has been run, the plotting of solution, mesh, source, and matrix can be done with

(plot (^ :solution))
(plot (^ :mesh))
(plot (^ :problem) :coefficient 'CDR::SOURCE)
(plot (^ :matrix))

You can also save plots to several graphic formats. For example,

(plot (^ :mesh) :background :white :tubes nil :glyphs nil
      :plot :file :format "tiff" :filename "mesh.tiff")