cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

IS NUMBER IS MISSING etc.

I have the following snippet of JSL that checks the My_Graphs list to determine whether the ith row is a number or not and do one of two things (col 6 consists of numbers and "."). The first part of the IF works - it sets the chart min at 1.2 the LCL and draws the plot. However, if the LCL is "." it does not set the LCL to 0. Immediately below is the the first 6 rows of col 6.

 

.
0.25
-2
-0.018
.
0.25

 

if(Is Number(num(My_Graphs [6][i])),

(Plot << dispatch(

{"Variability Chart for..."},

"2",

ScaleBox,

{Min(num(My_Graphs [6][i]) * 1.2 ),

Add Ref Line( num(My_Graphs [6][i]), Dotted, "Red", "LCL = " || My_Graphs [6][i] , 2 ),

Show Major Grid( 1 )})

),

(Plot << dispatch(

{"Variability Chart for..."},

"2", ScaleBox, {Min(0)})

)

);//end if

10 REPLIES 10
karmstro
Level III

Re: IS NUMBER IS MISSING etc.

Thanks for your input - I guess I was a little unclear in my last responce but once I converted the strings from the list to num the Is Missing function behaved as expected. 

Recommended Articles