Grapher does not currently support automatic creation of inverted or reciprocal axes. However, you can create an axis that has the desired look using a combination of linked axes and worksheet labels. To do this, complete the steps below.
- Create the graph as normal using the appropriate Home | New Graph command
- Click on the Axis that should be inverted in the Object Manager or Plot document.
- Click Graph Tools | Add to Graph | Duplicate Axis.
- Set the location for the duplicate axis and click OK. The duplicate axis is added to the graph and is linked to the original by default.
- Click on the plot to select it.
- Click Graph Tools | Worksheet | Display to open the worksheet that contains your plotted data.
- In an empty column, type the header X Value and then enter the actual X values for each tick label. These are the values that are displayed on the original axis.
- In the next empty column, type the header X Label.
- Click the Data Tools | Data | Transform command.
- In the Transform equation, enter the equation E=round(1/D,2) where E is the X Label column, D is the X Value column, and 2 is the number of decimal digits in the calculated label value.
- Click OK.
Enter the X values into column D and
use the Transform command to generate the X Label values.
- Return to the plot window.
- Click on the second axis to select it.
- In the Property Manager, click on the Link Axis tab and ensure:
- The Link axis field is set to the original axis.
- The Link limits box is checked.
- The Limits Y = F(X) = value is set to X.
- Click on the Labels tab.
- In the General section, change the Label source to From worksheet.
- Change the Worksheet to the worksheet that has the data and labels.
- Set the Data column to the column that contains the X Value, as defined in step 8.
- Set the Label column to the column that contains the X Label, as calculated in steps 10-12.
The duplicate top axis now shows the 1/X labels.
Updated July 23, 2019
Comments
0 comments
Please sign in to leave a comment.