Create two plots in Grapher with one shared X or Y axis

Now you can create two (or more) plots in Grapher that share one axis. To do so:

  • Click Home | New Graph | <graph category> | <graph type>.
  • In the Open Worksheet dialog, select the data file and click Open.
  • In the Object Manager, select the graph created just created.
  • Click Graph Tools | Add to Graph | Plot, in the dropdown select the desired new plot type.
  • In the Choose Axes dialog

    If you want to share the X axis If you want to share the Y axis
    Line plots sharing an X axis in Grapher
    Line plots sharing an Y axis in Grapherg
    1. Set the X axis to the existing x axis (X Axis 1). 
    2. Set the Y axis to Create new axis.
    3. Click the Position button.
    4. In the Position New Axis dialog, set the dropdown list to Y Axis 1, toggle Y Only in the Move section, and toggle At the top of (or At the bottom of, if desired).
    5. Click OK in the Position New Axis dialog.
    6. Click OK in the Choose Axes dialog.
    1. Set the Y axis to the existing y axis (Y Axis 1). 
    2. Set the X axis to Create new axis.
    3. Click the Position button.
    4. In the Position New Axis dialog, set the dropdown list to X Axis 1, toggle X Only in the Move section, and toggle At the right of (or At the left of, if desired).
    5. Click OK in the Position New Axis dialog.
    6. Click OK in the Choose Axes dialog.
  • If desired, select the axes in the Object Manager and edit their properties in the Property Manager (for example, you can link the axes so they move together).
  • To expand your grid lines to cover both graphs
    1. In the Object Manager select the axis that you want to edit the grid lines for.
    2. In the Property Manager, select the Line tab.
    3. In the Grid Line Properties section select the dropdown in the Parallel axis field and select the desired axis to extend grid lines for. 
      • Select All parallel axes to cover all the axes.
      • Use the Lines between axes field to connect or disconnect those grid lines between the plots.

 

Was this article helpful?
...

Comments

0 comments

Please sign in to leave a comment.