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 />

TABLE 1-68: VALID PROPERTY/VALUE PAIRS<br />

PROPERTY 1D 2D 3D VALUE DEFAULT DESCRIPTION<br />

off Point label list<br />

Pointlabels ♦ ♦ ♦ off | on |<br />

list of<br />

strings<br />

Pointmarker ♦ ♦ ♦ marker<br />

symbol<br />

Pointmode ♦ ♦ ♦ on | off |<br />

isolated<br />

Sublabels ♦ ♦ ♦ on | off |<br />

list of<br />

strings<br />

In addition, the common plotting properties listed under femplot are available.<br />

The properties sublabels, facelabels, edgelabels, and pointlabels control<br />

the display of subdomain labels, face labels, edge segment labels, and point labels,<br />

respectively.<br />

The properties that control marker type or coloring can handle any standard marker<br />

or color type in <strong>COMSOL</strong> Script. See for example the plot command in the<br />

<strong>COMSOL</strong> Script Reference Guide.<br />

o<br />

on<br />

off<br />

Point marker<br />

Show points<br />

Subdomain label<br />

list<br />

Submode ♦ ♦ on | off on Show<br />

subdomains<br />

Examples<br />

3D Example<br />

Create a simple 3D geometry:<br />

c1 = cylinder3(0.5,2,[-1,0,0],[1,0,0]);<br />

c2 = cylinder3(0.2,2,[0,-1,0],[0,1,0]);<br />

g = c1-c2;<br />

Plot edges and face labels.<br />

geomplot(g,'facemode','off','facelabels','on')<br />

axis equal<br />

Plot faces with lighting and without edges and axis in high quality.<br />

geomplot(g,'edgemode','off','detail','fine')<br />

light, lighting phong<br />

axis equal, axis off<br />

Both faces and edges are plotted by default.<br />

234 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!