This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Coordinate System

Modify axis limits and tick values, add grid lines, combine multiple plots


xlim Set or query x-axis limits
ylim Set or query y-axis limits
zlim Set or query z-axis limits
rlim Set or query r-axis limits for polar axes
thetalim Set or query theta-axis limits for polar axes
axis Set axis limits and appearance
box Display axes outline
grid Display or hide axes grid lines
daspect Control data unit length along each axis
pbaspect Control relative lengths of each axis
datetick Date formatted tick labels
hold Retain current plot when adding new plots
subplot Create axes in tiled positions
yyaxis Create chart with two y-axes
figure Create figure window
axes Create axes graphics object
polaraxes Create polar axes
gca Current axes handle
cla Clear axes


Axes Properties Control axes appearance and behavior
Polar Axes Properties Control polar axes appearance and behavior
Was this topic helpful?