Secondary Axis for Scatter Plot?

If you're familiar with Excel, I can simply ask: How do you create a secondary axis in a scatter plot?

More descriptively, when one works in a scatter plot, you're comparing one set of numbers to another. Let's say you have two sets of numbers (to be put on the Y-axis) that you want to compare to another set of numbers (on the x-axis), but the two sets of numbers are of greatly different scale. You'd want to put on set of data on the primary axis (usually located on the left side of the chart), and put the other set of data on the secondary axis (usually located on the right side of the chart). Can this be done in Numbers?

Thanks!

iMac, Mac OS X (10.5.7)

Posted on May 24, 2009 12:23 PM

Reply
5 replies

May 24, 2009 6:44 PM in response to ddarga

Create the scatter plot with your x-values and first set of y-values. Select the second group of y-values in your table, and drag the selection to the chart. Drag the same selection to the chart a second time, and some new data points will appear (don't worry if they're not in the right location at this point).

Click on one of the data points from the second group. Now go to the Chart Inspector, choose the "Series" tab and edit the X-Data entry to reflect the same x-values range as for your first series of data.

May 24, 2009 8:36 PM in response to Brie Fly

After a little experimentation, there is a more elegant way to accomplish this.

Make a scatter chart from your x- and first y-column data. You'll see a small gear appear at the upper-left corner of your table data. Click on the gear and choose "Share X-values". Now grab the little bulls-eye at the lower-right corner of your selected data, and drag it to include the next series of data.

May 26, 2009 6:48 AM in response to ddarga

There's no automatic way to put a secondary axis on a Scatter Chart, but that shouldn't stop you.

Add a Plain Table to your Sheet and adjust its size to one column, and with a number of rows equal to the number of horizontal grid lines you are using. Set the borders and fill of this new Table to None, type in your labels and position the Table to the right side of your Chart. Adjust the Font and Row Height, tweak the position of the Table. Create a new column for the data that you want to chart on your Secondary Axis and scale that data based on the ratio of the Secondary Axis to the Primary Axis. Assuming that you are sharing X-values as Brie suggested, you can then drag your scaled data to the Chart.

Jerry

May 26, 2009 7:29 AM in response to Jerrold Green1

That's a neat way to get around this problem. I would recommend for the left-side Y axis that you enter the min and max in the Table Inspector and not leave them as "auto". You don't want them adjusting by themselves later in the future.

This got me thinking. You can color-coordinate the text on the two Y axes so they are the same color as their respective lines. That makes it instantly recognizable on screen and on a color printout which axis goes with which data. With color coordination and a multi-column right side Y-axis table, you could add additional sets of Y axis labels for additional data series.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Secondary Axis for Scatter Plot?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.