cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • See how to interactively organize and restructure data for analysis. Register for May 29 webinar, 2pm US ET.

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