cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar
CCH
CCH
Level I

How to add reference line with different values to multiple different plots all at once?

I am a beginner and have no coding experience.

Although reviewing many related solutions, I still have no clue.

Currently, I'm manually adding these reference lines, but there are hundreds of plots (and each with different reference line).

I'm wondering if there's a quicker way (script...) I can refer to.

I've attached the file I made plots and the values I want to add as reference lines.

If the file format needs to be organized into a more convenient format, please let me know.

Thank you very much.

CCH_1-1691399148263.png

reference line value:

Data 1Data 2Data 3Data 4Data 5
-0.1-0.2-0.3-0.3-0.3
-1-1-1-1.1-1.2

version: JMP 16

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to add reference line with different values to multiple different plots all at once?

I would suggest checking out Specification Limit column properties and how to set those. You will have to change your reference line table to different format, but should be easiest option

jthi_3-1691400560385.png

jthi_1-1691400451204.png

Load from Limits table

jthi_4-1691400610451.png

jthi_5-1691400632712.png

 

In some cases you cannot use specification limits and then pure scripting solution is most likely the easiest

-Jarmo

View solution in original post

3 REPLIES 3
CCH
CCH
Level I

Re: How to add reference line with different values to multiple different plots all at once?

attachment

jthi
Super User

Re: How to add reference line with different values to multiple different plots all at once?

I would suggest checking out Specification Limit column properties and how to set those. You will have to change your reference line table to different format, but should be easiest option

jthi_3-1691400560385.png

jthi_1-1691400451204.png

Load from Limits table

jthi_4-1691400610451.png

jthi_5-1691400632712.png

 

In some cases you cannot use specification limits and then pure scripting solution is most likely the easiest

-Jarmo
CCH
CCH
Level I

Re: How to add reference line with different values to multiple different plots all at once?

It works!

I can't thank you enough.

Thanks again!