Follow

Can I create an inverse or reciprocal axis in Grapher?

Grapher does not currently support inverted or reciprocal axis scales. But, you can create an axis that has the desired look using a combination of linked axes and worksheet labels.

 

  1. Create the original scatter plot from the XY data in the worksheet by clicking the Home | New Graph | Basic | Scatter Plot (Grapher 12 scatter plot) command. Select the data file and click Open.
  2. Click on the axis that should be inversed or the reciprocal of the current values.
  3. Click the Graph Tools | Add to Graph | Duplicate Axis command.
  4. Set the location for the duplicate axis and click OK. The duplicate axis is added to the graph.
  5. If you do not want to see the original axis, uncheck the box in the Object Manager next to the original axis.
  6. Click on the scatter plot to select it. Click the Graph Tools | Worksheet | Display command to open the worksheet that contains your plotted data.
  7. In a blank column, type the header X Value and then type the actual X values that are displayed as tick marks on the original axis. In the attached example, this is Column D.
  8. In the next blank column, type the header X Label.
  9. Click the Data Tools | Data | Transform command.
  10. In the Transform equation, type the equation E=round(1/D,2). The E is the X Label column letter. The D is the X Value column label. The 2 is how many digits you want to be displayed in the label. Click OK.

 Inverse Data Columns
Type the X Value values into the column D.
Use the Transform command to generate the
X Label values.

  1. Return to the plot window.
  2. Click on the second axis to select it.
  3. In the Property Manager, click on the Link Axis tab.
  4. In the field next to Link axis, select the original axis. 
  5. Check the box next to Link limits.
  6. Set the Limits Y = F(X) = value to X.
  7. Click on the Labels tab.
  8. In the General section, change the Label source to From worksheet.
  9. Change the Worksheet to the worksheet that has the data and labels.
  10. Set the Data column to the column that contains the X Value, as defined in step 7.
  11. Set the Label column to the column that contains the X Label, as defined in step 8.

 


The duplicate top axis now shows the 1/X labels.

 

 

Updated October 8, 2018

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.