turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- JMP User Community
- :
- Discussions
- :
- Overlay chart with phases

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 4, 2017 8:42 AM
(2485 views)

Hello,

I would like to build kind of IR Control chart with phases but with user defined limits for each phase instead of control limits calculated by JMP.

I tried it in Graph Builder but I cannot set X axises independent.

Please see screenshot of my trial in Graph Builder.

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 6, 2017 5:30 AM
(4793 views)

Solution

You can interactively add a graphics script to Control Chart Builder to draw the spec limits. To see an example run the code below.

```
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Control Chart Builder(
Show Control Panel( 0 ),
Show Limit Summaries( 0 ),
Show Capability( 0 ),
Variables( Y( :height ), Phase( :sex ) ),
Chart(
Position( 1 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) ),
Add Spec Limits( {LSL( 55 ), USL( 65 )} )
),
Chart(
Position( 2 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) )
),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
FrameBox( 2 ),
{Add Graphics Script(
2,
Description( "Spec Limits" ),
Pen Color( "Red" );
Line Style( "Dashed" );
// Spec limits for Females
H Line( 0, 18, 55 );
H Line( 0, 18, 65 );
// Spec limits for Males
H Line( 19, 40, 57 );
H Line( 19, 40, 70 );
), Grid Line Order( 1 ), Reference Line Order( 3 )}
)
)
);
```

which gives:

With a little work, you could do this programmatically if you have many cases.

5 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 4, 2017 9:30 AM
(2475 views)

You can do this in Control Chart Builder. See my blog post. https://community.jmp.com/t5/JMPer-Cable/4-ways-to-use-fixed-baseline-historical-control-limits-in/b...

Take a look at Method #3.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 5, 2017 3:23 AM
(2446 views)

Thank you Tonya.

"Get Limits" solves this when I have two limits to show.

I need to show two pairs of limits (for example spec. and control limits) with phases.

Is that possible in Control Chart Builder or Graph Builder?

I tried in Graph Builder but the problem is same X Axes for each phase.

Is it possible to make independent X Axis for each phase?

BG.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 5, 2017 6:37 AM
(2439 views)

Control Chart Builder does not offer capability analysis with a phase variable. You could do this in the new Process Screening platform. However, it will not give you the graph you are looking for. You will get a separate graph for each phase rather than a single graph.

Graph Builder is not my area of expertise. Perhaps someone else can comment on your question about separate axes.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 6, 2017 5:30 AM
(4794 views)

You can interactively add a graphics script to Control Chart Builder to draw the spec limits. To see an example run the code below.

```
NamesDefaultToHere(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt << Control Chart Builder(
Show Control Panel( 0 ),
Show Limit Summaries( 0 ),
Show Capability( 0 ),
Variables( Y( :height ), Phase( :sex ) ),
Chart(
Position( 1 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) ),
Add Spec Limits( {LSL( 55 ), USL( 65 )} )
),
Chart(
Position( 2 ),
Limits( Sigma( Moving Range ), Show Center Line( 0 ), Show Limits( 0 ) )
),
SendToReport(
Dispatch(
{},
"Control Chart Builder",
FrameBox( 2 ),
{Add Graphics Script(
2,
Description( "Spec Limits" ),
Pen Color( "Red" );
Line Style( "Dashed" );
// Spec limits for Females
H Line( 0, 18, 55 );
H Line( 0, 18, 65 );
// Spec limits for Males
H Line( 19, 40, 57 );
H Line( 19, 40, 70 );
), Grid Line Order( 1 ), Reference Line Order( 3 )}
)
)
);
```

which gives:

With a little work, you could do this programmatically if you have many cases.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 6, 2017 6:01 AM
(2391 views)