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 (getbb *result* :solution))
(plot (getbb *result* :mesh))
(plot (getbb *result* :problem) :coefficient 'CDR::SOURCE)
(plot (getbb *result* :matrix))

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

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