Extend Grid Lines Across Parallel Axes
To create a unified grid that spans multiple axes, you must configure the properties of the grid lines within the axis settings.
-
Create a plot with multiple axes:
- Use the Home | New Graph | <graph type> command to create a graph of your choice.
- Add a second plot to your graph using the Graph Tools | Add to Graph | <plot type> command.
- In the Choose Axes dialog, choose to add a new X or Y Axis in the direction that you need.
- Keep the axis for which you intend to share grid lines. If you'd like to share grid lines from your Y axis across two X axes, create a new X Axis. Do not create a new Y axis.
- Click OK. Your plot should now show a total of 3 axes with grid lines missing on one of the graphs.
-
Enable the Grid Display:
Scroll to the Grid Line Properties section.
Check the box next to Major tick grid line. You may also enable Minor tick grid line if higher granularity is required for your dataset.
-
Turn on grid line sharing:
Locate the Parallel axis dropdown menu.
To span a specific area: Select a single parallel axis from the list (e.g., X Axis 2).
-
To span the entire graph: Select All parallel axes to automatically project the grid lines across every parallel axis in the plot.
In the Line tab, set the Grid Line Properties to apply to all Parallel axis.
Customizing Grid lines
Once the grid lines are extended across your axes, you can refine their appearance to ensure they support the data without distracting from it.
Style and Color: Use the Major grid lines sub-section to change the line style (e.g., solid to dashed) or reduce the opacity of the lines to keep the focus on the data trends.
Worksheet Grid Lines: If your grid should be driven by specific data values rather than axis ticks, utilize the Worksheet grid lines option to pull positions directly from a data file.
Related Axes Customizations
- Add Grid Lines to a Graph in Grapher: Add and customize grid lines in your graph.
Defaults & Options: Define your style in Grapher: Save time by setting your preferred grid line color and thickness as the default for all future projects.
How to Do This in Grapher 15 and Older
- Method 1: Best for fewer plots or plots that are spaced apart
- Method 2: Best for many adjacent plots, or for plots in which you want grid lines to appear within the spacing
Method 1: If your plots are spaced out and you don't want grid lines to appear within the spacing, this method will add grid lines to each Y axis.
- Click on the X axis to select it.
- In the Property Manager, click on the Line tab.
- In the Grid Line Properties section, set the Parallel axis to the first Y axis.
- Check the box next to Major tick grid line option.
- Click the Home | Add to Graph | Axis | X Axis command.
- In the Position X Axis dialog, toggle At the top of or At the bottom of and select the second Y axis from the list.
- Check the Disable tick marks and Disable labels boxes to turn off the display of tick marks and labels.
- Click OK.
- Click on the new X axis in either the Object Manager or plot window to select it.
- In the Property Manager, click the Link Axis tab.
- Click None in the Link axis field and select the first X Axis.
- Check the box in the Link axis scale and Link limits fields.
- Click on the Line tab.
- In the Grid Line Properties section, change the Parallel axis to the second Y axis.
- Check the box next to the Major tick grid line option.
- In the Axis Line Properties section, expand the Axis line properties and change the line Style to Invisible to turn off the axis line display. Only the grid lines remain.
- Repeat steps 5-16 for each additional Y axis.
Method 2: If you have several plots or want grid lines to appear within your spacing, follow these steps.
- Select the graph or an item within the graph.
- Click Home | Add to Graph | Axis | Y Axis.
- In the Position Y Axis dialog, toggle At the left of, and select the X axis from the list.
- Check the Disable tick marks and Disable labels boxes and click OK.
- Select the new Y Axis.
- Click on the Axis tab in the Property Manager.
- Increase the Length until this new axis is the length of all of the other y axes combined.
- Click on the Line tab.
- In the Axis Line Properties section, expand the Axis line properties and change the line Style to Invisible to turn off the axis line display.
- Select the X Axis.
- On the Line page in the Property Manager, in the Grid Line Properties section, change the Parallel axis to the new Y axis.
- Check the box in the Major ticket grid line field, if needed.
Comments
Please sign in to leave a comment.