Create Graphs That Share Axes in Grapher

When you use the Home | New Graph commands in Grapher, a new graph object is created in addition to your existing plot. Since the new graph has its own axes, your new graph and your existing plot are not yet aligned. But you can create graphs that share axes in Grapher.

In the below example, both the bar chart and line plot use the same data, but they aren't sharing axes. 

Line plot and bar chart with different axes

This line plot and bar chart were created as separate graphs with different axis limits.

 

Creating graphs with shared Y or X axes

  1. In the Object Manager, look for two separate Graph objects:

    Grapher's Object Manager showing 2 plots and separate axes

  2. If two graphs exist, click on one of the plots. In this example, this would be either the Line/Scatter Plot or the Bar Chart. Hold down the left mouse button and drag the plot into the other graph.
    Grapher's Object Manager showing 2 plots and separate axes
  3. When the cursor changes to an arrow, release the mouse button. The plot has now moved to the other graph.
    Moving one plot to the other set of axes
  4. Click on the Graph that contains only axes (Graph 2) and delete it. The graph that remains contains 1 set of axes and both plots.
    Grapher showing plosts sharing axes

Lineplot_and_bar_chart_2.png
This line plot and bar chart now share the same axes.

 

Updated May 2023

Was this article helpful?
1 out of 3 found this helpful

Comments

0 comments

Please sign in to leave a comment.