cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

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

Selection in one graph determines what is plotted in another graph

Hi everyone,
I'm probably missing something obvious here - but I'm struggling with a special selection case.
I have one plot controlling the content of another plot:
 
  • If I select 3 points, I get 3 curves displayed.
  • If I deselect 2 of those points, only 1 curve remains.
  • So far, everything behaves exactly as expected.

However, when I deselect the last remaining point, so that nothing at all is selected, JMP suddenly displays *all* curves again.
I understand the logic: "no selection" is interpreted as "no filter", therefore all rows are shown.

But in my use case, I would actually expect the opposite behavior:
if nothing is selected, then nothing should be displayed.

This is not a cosmetic issue, it causes JMP to orbit for 5 minutes - and it produces a messy (useless)  plot.

Is there a hidden workaround?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Selection in one graph determines what is plotted in another graph

I don't think there is such option (and you know how we might be able to get one at some point). 

You can also create this type of "filtering" using selection column with Forced Values (0/1) + Formula (such as Col Sum(Selected(), :age) >= 1 , depending on your selection graph) and then add local data filter with the selection column value being 1.

jthi_0-1784541613356.png

jthi_1-1784541622376.png

jthi_2-1784541635232.png

 

-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Selection in one graph determines what is plotted in another graph

How have you built your plots?

-Jarmo
hogi
Level XIII

Re: Selection in one graph determines what is plotted in another graph

First, I used standard Graph Builder plots together with the Filter By functionality in the Dashboard.
But it shoed the described issue.

As a workaround, I now create the plots manually:
  • Empty plot with a Graphics Script
  • Retrieve the selected rows
  • Generate the curves in the second plot "manually"

 Another alternative:

  • Do not use Filter By
  • Instead, update the selection in the second plot whenever the selection changes in the first plot

These workarounds allow you to explore the flexibility and possibilities of JMP.

However, a small toggle: Nothing Selected actually means “Nothing Selected"
would feel much more consistent with the JMP user experience.
It’s just that I can’t seem to find such an option.

jthi
Super User

Re: Selection in one graph determines what is plotted in another graph

I don't think there is such option (and you know how we might be able to get one at some point). 

You can also create this type of "filtering" using selection column with Forced Values (0/1) + Formula (such as Col Sum(Selected(), :age) >= 1 , depending on your selection graph) and then add local data filter with the selection column value being 1.

jthi_0-1784541613356.png

jthi_1-1784541622376.png

jthi_2-1784541635232.png

 

-Jarmo

Recommended Articles