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.

scale<br />

Purpose<br />

scale<br />

Scale geometry object.<br />

Syntax<br />

Description<br />

[g,...] = scale(g3,fx,fy,fy,...)<br />

[g,...] = scale(g3,fx,fy,fy,x,y,z,...)<br />

[g,...] = scale(g3,fxyz,xyz,...)<br />

[g,...] = scale(g2,fx,fy,...)<br />

[g,...] = scale(g2,fx,fy,x,y,...)<br />

[g,...] = scale(g1,fx,...)<br />

[g,...] = scale(g1,fx,x,...)<br />

[g,...] = scale(g3,xscale,yscale,zscale,...) scale the 3D geometry<br />

object g3 by (xscale, yscale, zscale) about the origin.<br />

[g,...] = scale(g,xscale,yscale,zscale,x,y,z,...) scale the 3D<br />

geometry object g3 by (xscale, yscale, zscale) about (x,y,z).<br />

[g,...] = scale(g,xyzscale,xyz,...) scale the 3D geometry object g3 by<br />

the vector fxyz about the vector xyz.<br />

[g,...] = scale(g2,fx,fy,...) scale the 2D geometry object by (fx,fy)<br />

about the origin.<br />

[g,...] = scale(g2,fx,fy,x,y,...) scale the 2D geometry object by (fx,fy)<br />

about (x,y).<br />

[g,...] = scale(g2,fx,...) scale the 1D geometry object by fx about the<br />

origin.<br />

[g,...] = scale(g2,fx,x,...) scale the 1D geometry object by fx about x.<br />

The function scale accepts the following property/values:<br />

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

PROPERTY VALUE DEFAULT DESCRIPTION<br />

empty<br />

out stx | ftx | ctx |<br />

ptx<br />

See geomcsg for more information on geometry objects.<br />

Output parameters<br />

Examples<br />

The commands below scale the unit circle by (1,2) about (2,3) and plot the result.<br />

c1 = circ2;<br />

c2 = scale(c1,1,2,2,3);<br />

geomplot(c2)<br />

See Also<br />

geomcsg<br />

380 | CHAPTER 1: COMMAND REFERENCE

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

Saved successfully!

Ooh no, something went wrong!