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
Bingh94
Staff

How to display drag line graph values?

Hello,

 

I'm hoping to be able to find a way to use the 'Drag line' customisation (see below) to be able to report the x and y-values that the line has been dragged onto so it's displayed onto the graph.

 

Drag line script:

 

If( Is Empty( g_x5 ),
    g_x5 = [25.03, 17.32, 18.81];
    g_y5 = [26.86, 25.62, 21.61];
);
Drag Line( g_x5, g_y5 );

 

 

If possible, I'm also hoping to make it so the x and y points are anchored onto the axis, allowing for the user to drag the reference line across the graph space and have it read out the intersecting values (see mock up photo attached).

 

Thanks!

Ben

1 REPLY 1
ian_jmp
Level X

Re: How to display drag line graph values?

Will the JMP Crosshairs tool do what you want? See, for example, the recording from @andreacoombs 

Recommended Articles