cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
csoon1
Level III

How to Match Values on X-Axis with Labels in Graph Builder

I am not sure if the subject is very descriptive but let me explain to you what I wanted:

 

1. I have a data (see attachment) which I simply want to plot using Graph Builder. The X-Axis would be "Bank No" while Y-Axis would be "Meas".

2. For the X-Axis however, I want to plot it in such a way that the values match the label. Currently, in the X Axis Settings, I see that Values are assigned sequentially, but my labels (which represent the data from my Bank No column) are chosen at certain intervals.

csoon1_0-1748038411382.png

3. This is the plot produced by the above settings

csoon1_1-1748038575411.png

4. The plot I wanted would have an X-Axis of Bank No in sequential order from 0 to 255 (without skipping any number), such that I would only be seeing "Meas" values on the X-Axis value that has data... and blank otherwise.

5. The reason behind this is these points would actually look linear of values from Bank No 0 is connected to Bank No 255 by line. On the above plot, I couldn't convey the message that it should be linear in appearance.

 

I am okay with JSL script too in the implementation of your suggestions.

2 REPLIES 2
txnelson
Super User

Re: How to Match Values on X-Axis with Labels in Graph Builder

Your Bank No. is set to ordinal.  Set it to Continuous and I believe you will get what you want

txnelson_0-1748041794687.png

 

Jim
csoon1
Level III

Re: How to Match Values on X-Axis with Labels in Graph Builder

Wow it's that easy. It's embarassing. Thanks.

Recommended Articles