Hi,
I want to write a script with for loop to generate Box plots with horizontal refernce lines and save it. I can do it in graph builder also but my dataset is huge so adding refernce line manually would take too much tim.
I have to two data table one to generate data table and other to generate refernce lines.
I want to have a loop to Box plot Player (in this case 'a' and 'b) on X-axis and column would switches for all games ('Badminton', 'Table Tennis', 'Lawn Tennis'). JMP script would also read one more file that contains refernce line and overlay refernce lines of particular game to that particular plot.
Please help to write a script for this requirement.
Thanks
| Game | Refernce Line 1 | Refernce Line 2 |
| Badminton | 7 | 1 |
| Table Tennis | 8 | 2 |
| Lawn Tennis | 6 | 3 |
| Player | Zone | Badminton | Table Tennis | Lawn Tennis |
| a | North | 2 | 2 | 3 |
| a | North | 3 | 6 | 3 |
| a | North | 4 | 6 | 5 |
| a | North | 5 | 2 | 2 |
| a | North | 2 | 5 | 6 |
| a | North | 4 | 5 | 6 |
| a | North | 4 | 3 | 6 |
| a | North | 4 | 5 | 2 |
| a | North | 9 | 7 | 6 |
| a | North | 5 | 0 | 5 |
| b | South | 1 | 3 | 7 |
| b | South | 2 | 4 | 7 |
| b | South | 4 | 7 | 8 |
| b | South | 3 | 6 | 3 |
| b | South | 6 | 4 | 5 |
| b | South | 2 | 2 | 2 |
| b | South | 5 | 8 | 6 |
| b | South | 6 | 5 | 2 |
| b | South | 7 | 2 | 3 |
| b | South | 6 | 4 | 6 |