Axes - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Change Axes Style

  

For 2-D and 3-D plots, Maple provides four axes styles: Normal, Boxed, Framed, and None. Plots can be displayed with or without axes. The axes in a plot provide an anchor so that you can determine from which angle you are viewing the plot.

  

For 2-D plots, Maple can display gridlines in the anchored frame.

  

For axes range, see Change the Range of an Axis.

 

Axes Styles

Axes Properties

Create a Second Axis

Labels

Gridlines in Anchored Frame

Axes Styles

• 

Normal displays an axis passing through the origin of the plot.  If the plot does not contain an origin, the axis displays at the end of the range closest to zero. For 2-D plots, the default axis style is Normal, and for 3-D plots it is Boxed. Note: For 2-D plots with polar axes, the Normal style is the same as Boxed.

• 

Boxed displays a scaled box around the plot.

• 

Framed displays scaled axes around the plot.

• 

None displays the plot without axes.

Change the Axes Style

  

After a standard plot or a smart plot is created, you can change the axes style.

1. 

Click the plot to select it.

2. 

From the Plot menu, select Axes.

  

Alternatively, use the context-sensitive options in the Context Panel.

3. 

Select one of Normal, Boxed, Framed, or None.

  

Note: Use the axes option in the plot or plot3d command to specify the axes style when creating a standard plot.

  

Note: You can also change the axes styles using the 2-D Plot Toolbar.

Axes Properties

  

Afer a standard 2-D plot or a 2-D smart plot is created, you can change the axes properties. You can set axes properties such as: axis range; number of tick marks and number of sub-tick marks; log mode; and axis color.  These options can be applied to the vertical and horizontal axes by selecting the appropriate tab in the Axis Properties dialog.

• 

From the Plot menu, select Axes, and then Properties.

Create a Second Axis

  

You can insert a second axis for a 2-D plot which places a second vertical axis to the right of the curve.

• 

To insert a second axis, click the plot and select Plot > Axes, and then Create second axis.

• 

To remove the second axis, click the plot and select Plot > Axes, and then Remove second axis.

• 

To move the axis range displayed on the first axis to the second range, click the plot and select Plot > Axes, and then Move to second axis. This also moves the range displayed on the second axis to the first.

• 

To move the axis range displayed on the second axis to the first range, click the plot and select Plot > Axes, and then Move to first axis.  This also moves the range displayed on the first axis to the second.

Note: When you first create a secondary axis there are no curves in it, so it has no data extents. It adopts the Maple default data extents, in other words -10..10. When you transfer a curve to it it will adjust to the vertical extents of the new curve. As an example:

1. 

Execute plot([sin,cos]);

2. 

Use the menu to create a second axis, which will have the range -10..10

3. 

Select one of the curves and use the menu option move to second axis. The second axis will now have a range of -1..1

Labels

  

You can add, edit, or remove the label for the horizontal or vertical axes, as well as the secondary vertical axis. By default, horizontal and vertical axes labels are displayed. Note: To add, edit, or remove the axis of the secondary axis, you need to first display the secondary axis by following the steps in the previous section Create a Second Axis.

Edit Axes Labels

1. 

Click the plot to select it.

2. 

From the Plot menu, select Axes > Labels, and then Edit horizontal, Edit vertical, or Edit secondary.

Remove Axes Labels

1. 

Click the plot to select it.

2. 

From the Plot menu, select Axes > Labels, and then Remove horizontal, Remove vertical, or Remove secondary.

Add Axes Labels

1. 

Click the plot to select it.

2. 

From the Plot menu, select Axes > Labels, and then Add horizontal, Add vertical, or Add secondary.

Gridlines in Anchored Frame

  

You can display gridlines behind a 2-D plot. You can set gridline properties such as: number of gridlines; line thickness, style, and color; the number of major lines displayed; and axes (that are emphasized).

• 

From the Plot menu, select Axes, and then Gridline Properties.

• 

You can show and hide the gridlines by toggling the Toggle Gridlines menu item under the Plot  > Axes menu.

  

Note: You can also toggle gridlines and change the gridlines properties using the 2-D Plot Toolbar .

See Also

Change axes label font

Change the Properties of an Axis

Change the Range of an Axis

Overview of Plot Menu for 2-D and 3-D Plots

plot

plot/options

plot3d

plot3d/options