Choose Language Hide Translation Bar
Highlighted
mewing
Level IV

Adding limits to control charts in JMP 8

Hi, I'm new here and I'm stuck in a script I'm trying to write. I have a client who wants to be able to create an S-chart from summary statistics. I have, in JMP 9, written a rudimentary script that does just this. However, in JMP 8, the part of the script that creates the control chart and draws the line only creates the chart with the points on it.

In JMP 9, I do accomplish this via:
expr_cc = expr("\[cChart = Control Chart(Chart Col(ALLVAR,Individual Measurement(ConnectPoints(1),ShowCenterLine(0),ShowControlLimits(0))),
SendToReport(
Dispatch(
{},
"IR Chart of IM",
FrameBox,
{Add Graphics Script(
3,
Description( "Script" ),
Pen Color( "Red" );
Pen Size( 2 );
Line( temprun_x, lcl_x );
Line( temprun_x, ucl_x );
Pen Color( "Green" );
Pen Size( 2 );
Line( temprun_x, cl_x );
)}
)
));]\");

Is there someway to do the same thing but in JMP 8? Thanks in advance for your time and patience.

Message was edited by: mewing
3 REPLIES 3
Highlighted
mewing
Level IV

Re: Adding limits to control charts in JMP 8

While I was unable to determine how to add the points to a control chart in JMP 8, I was able to create the graph from scratch which worked fine.
Highlighted

Re: Adding limits to control charts in JMP 8

This is just a guess, but the problem has a familiar ring to it: try changing "IR Chart of IM" in JMP 9 to just "IR Chart" in JMP 8, and see if that helps. I've come across something similar recently, and referred to it in this thread: http://support.sas.com/forums/thread.jspa?threadID=13727&tstart=0
Highlighted
mewing
Level IV

Re: Adding limits to control charts in JMP 8

Thanks. I ended up changing it to a Run Chart and that worked fine (since I'm drawing the limits myself).
Article Labels

    There are no labels assigned to this post.