By default, the X and Y axes meet at the bottom left corner, with Y increasing up and X increasing to the right. But, the axes can be located at any page position you desire. In addition, the axes can cross and be located at relative locations to each other. To set the axis position:
- Create your graph, as normal. In this example, I've created a function plot using the Home | New Graph | Basic | Y=f(X) Function Plot. The default cosine curve is displayed.
The graph is displayed with the default axis locations.
- To move the X axis so that it crosses the Y axis at the zero value:
- Click on X Axis 1 in the Object Manager to select it.
- In the Property Manager, click on the Axis tab.
- Click the Set button in the Position field.
- In the dialog, select At data value of... and make sure the value is 0.0.
- Click OK.
The X axis now crosses the Y axis at Y=0. - To move the Y axis so that it crosses the X axis at the zero value:
- Click on the Y Axis 1 in the Object Manager to select it.
- In the Property Manager, click on the Axis tab.
- Click the Set button in the Position field.
- In the dialog, select At data value of... and make sure the value is 0.0. Change the Move option so that X Only is selected. This will move the Y axis to the right, but not up/down.
Set the position to At data value of... and select to Move in the X Only direction. - Click OK.
The axes now cross each other at the zero values.
Once both axes are moved, the axes cross each other at the X=0 and Y=0 locations.
If the axis limits change, the axes will need to be reset to these locations again by following the steps above.
Updated July 17, 2019
Comments
0 comments
Please sign in to leave a comment.