13.07.2015 Views

Calfem - A finite element toolbox to MATLAB, version 3.3

Calfem - A finite element toolbox to MATLAB, version 3.3

Calfem - A finite element toolbox to MATLAB, version 3.3

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

axisPurpose:Syntax:Plot axis scaling and appearance.axis([xmin xmax ymin ymax])axis([xmin xmax ymin ymax zmin zmax])axis au<strong>to</strong>axis squareaxis equalaxis offaxis onDescription:Note:axis([xmin xmax ymin ymax]) sets scaling for the x- and y-axes on the current 2D plot.axis([xmin xmax ymin ymax zmin zmax]) sets the scaling for the x-, y- and z-axes onthe current 3D plot.axis au<strong>to</strong> returns the axis scaling <strong>to</strong> its default au<strong>to</strong>matic mode where, for each plot,xmin = min(x), xmax = max(x), etc.axis square makes the current axis box square in shape.axis equal changes the current axis box size so that equal tick mark increments onthe x- and y-axes are equal in size. This makes plot(sin(x),cos(x)) look like a circle,instead of an oval.axis normal res<strong>to</strong>res the current axis box <strong>to</strong> full size and removes any restrictions onthe scaling of the units. This undoes the effects of axis square and axis equal.axis off turns off all axis labeling and tick marks.axis on turns axis labeling and tick marks back on.This is a <strong>MATLAB</strong> built-in function. For more information about the axis function,type help axis.GRAPHICS 8 – 2

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

Saved successfully!

Ooh no, something went wrong!