PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Visualization and Graphics
>
Graphics Options & Styling
>
Graphics Annotation & Appearance
>
Axes
>
BUILT-IN MATHEMATICA SYMBOL
Options for Graphics
Labeling Three-Dimensional Graphics
Graphics and Sound
Tutorials »
|
AxesLabel
Ticks
Frame
GridLines
Boxed
See Also »
|
3D Graphics Options
Graphics Annotation & Appearance
Graphics Options & Styling
More About »
Axes
Axes
is an option for graphics functions that specifies whether axes should be drawn.
MORE INFORMATION
Axes
->
True
draws all axes.
Axes
->
False
draws no axes.
Axes
->{
False
,
True
}
draws a
axis but no
axis in two dimensions.
In two dimensions, axes are drawn to cross at the position specified by the option
AxesOrigin
.
»
In three dimensions, axes are drawn on the edges of the bounding box specified by the option
AxesEdge
.
»
EXAMPLES
CLOSE ALL
Basic Examples
(4)
Draw all the axes:
Draw the
axis but no
axis:
Draw the
axis only:
Specify overall axes style, including axes labels, ticks, and tick labels, using
AxesStyle
:
Draw all the axes:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Draw the
axis but no
axis:
In[1]:=
Out[1]=
Draw the
axis only:
In[1]:=
Out[1]=
Specify overall axes style, including axes labels, ticks, and tick labels, using
AxesStyle
:
In[1]:=
Out[1]=
Scope
(12)
Determine
AxesOrigin
automatically:
Specify
AxesOrigin
explicitly:
In 3D, axes are drawn on the bounding box edges:
Choose the bounding box edges automatically to draw the axes:
Specify the edges explicitly, using
AxesEdge
:
Specify the style of each axis:
Display the axes without the bounding box:
Specify a label for each axis:
Use labels based on variables specified in
Plot3D
:
Draw the axes but no tick marks:
Place tick marks automatically:
Draw tick marks at the specified positions:
Properties & Relations
(5)
In 2D, the axes are drawn above the graphics:
Objects in
Epilog
are drawn on top of any graphics, including the axes:
If the option
Frame
is set to
True
, the ticks are drawn on the edges of the frame:
GridLines
puts grids across the image:
FaceGrids
puts grids on the faces of the bounding box in 3D:
By default,
DensityPlot
and related functions display the frame, instead of the axes:
Possible Issues
(1)
If
Frame
and
Axes
are both present, the axes ticks are suppressed:
Neat Examples
(1)
Move the axes using a locator:
SEE ALSO
AxesLabel
Ticks
Frame
GridLines
Boxed
TUTORIALS
Options for Graphics
Labeling Three-Dimensional Graphics
Graphics and Sound
MORE ABOUT
3D Graphics Options
Graphics Annotation & Appearance
Graphics Options & Styling
New in 1