21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

geomplot<br />

Purpose<br />

geomplot<br />

Plot geometry.<br />

Syntax<br />

Description<br />

geomplot(fem,...)<br />

geomplot(geom,...)<br />

h = geomplot(fem,...)<br />

h = geomplot(geom,...)<br />

geomplot(fem) plots the analyzed geometry fem.geom. For an extended FEM<br />

structure, xfem.fem{geomnum}.geom is plotted, where geomnum is 1 by default.<br />

geomplot(geom) plots the analyzed geometry geom.<br />

h = geomplot(...) additionally returns handles to the plotted axes objects.<br />

The analyzed geometry can be any of the following geometry representations: a<br />

geometry object, a Geometry M-file, or a mesh. The geometry object and<br />

Geometry M-file are described in the entries geomcsg and geomfile, respectively.<br />

The mesh data structure is described in the entry meshinit.<br />

In 3D, the default plot is a patch plot of the faces with the edge segments and<br />

isolated vertices plotted as lines and markers respectively. The face, edge segment,<br />

and vertex parts of the plot can be controlled by the property/values starting with<br />

face, edge, and point respectively. Subdomains cannot be plotted directly, only<br />

indirectly through their adjacent faces.<br />

In 2D, the default plot is a patch plot of the subdomains with the edge segments<br />

and vertices plotted as lines and markers, respectively. The subdomain, edge<br />

segment, and vertex parts of the plot can be controlled by the properties starting<br />

with sub, edge, and point, respectively. You can turn on indication of curve<br />

parameter direction by using the property edgearrows.<br />

In 1D, the default plot is a line plot of the subdomains with vertices plotted as<br />

markers. The subdomain and vertex parts of the plot can be controlled by the<br />

properties starting with sub and point, respectively.<br />

The following table shows the property/value pairs for the geomplot command.<br />

The interpretation of the properties in 1D, 2D and 3D varies with dimension. The<br />

232 | CHAPTER 1: COMMAND REFERENCE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!