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
hasanurkhan
Level II

JSL Coding debug help needed

Hello,

A while back, I got help from here on JMP coding to draw diamond plots (attached snapshot). I am using the same code. For some reason, the code run through without any flag but does not generate the plots. I am using JMP Pro 17.2.0. Can anyone please help me debug this? Much appreciated. I attached the dataset on which I am trying to use the script. Let me know if any additional questions.

 

Thanks

 

hasanurkhan_0-1763591508886.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: JSL Coding debug help needed

What version of JMP did this work in? 

try adding a num(...) to convert the "2" to 2 .

:width == num(byGroup3[kk])

I don't know why or if this changed, or what changed. bygroup3 holds {"2", "3"} but column :width holds numbers 1 and 2.

With that change you'll get a lot of graphs, doesn't look quite like your example.

Craige_Hales_0-1763611334923.png

 

 

Craige

View solution in original post

2 REPLIES 2
Craige_Hales
Super User

Re: JSL Coding debug help needed

What version of JMP did this work in? 

try adding a num(...) to convert the "2" to 2 .

:width == num(byGroup3[kk])

I don't know why or if this changed, or what changed. bygroup3 holds {"2", "3"} but column :width holds numbers 1 and 2.

With that change you'll get a lot of graphs, doesn't look quite like your example.

Craige_Hales_0-1763611334923.png

 

 

Craige
hasanurkhan
Level II

Re: JSL Coding debug help needed

Thank you so much. It worked on my side. in my snippet, I showed multiple diamond plots but that I can do on my side.

Recommended Articles