cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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