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
- :
- Re: JSL - showing spec limits as graph reference lines

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
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Email to a Friend
- Report Inappropriate Content

Apr 25, 2013 9:03 AM
(14380 views)

Hi, thanks for reading this.

When viewing a column's spec limits in column properties, there is a check box that enables the display of those spec limits in certain platforms.

I'm trying to figure out a way to show the limits with "Show Limits (1)."

With pre-selected columns, I'm working on the following script:

dt = Open();

dtcols = dt << Get Selected Columns;

addprop = Expr(

For(i = 1, i <= NItems(dtcols), i++,

// Column(dt, Char(dtcols*))<< Set Property( "Spec Limits", {Show Limits( 1 )} ); //setting the SL property erases the current values, enabling the check box but the spec limits are lost. So:*

specs = Column(dt, Char(dtcols*)) << Get Property( "Spec Limits" ); //create a copy of the spec limits already in the table,*

// Insert Into(specs, Show Limits(1)); //and somehow add "Show Limits(1)" to the spec limits in "specs", but "specs" is a name and not a list

Column(dt, Char(dtcols*)) << Set Property( "Spec Limits" , {Eval(specs)} ); *

)

);

addprop;

Any ideas or suggestions will be much appreciated.

Evan

1 ACCEPTED SOLUTION

Accepted Solutions

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

5 REPLIES 5

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

Re: JSL - showing spec limits as graph reference lines

Evan,

The spec limits are displayed in the control chart builder.

dt=**(**"$Sample_Data/New Heights.jmp"**);**

dt<<Control Chart Builder(

Show Control Panel( 0 ),

Variables( Y( :height ) ),

Chart( Position( 1 ) ),

Chart( Position( 2 ) ),

SendToReport(

Dispatch(

{},

"height",

ScaleBox,

{Min( 41.255230125523 ), Max( 77.5 ), Inc( 5 ), Minor Ticks( 1 ),

Add Ref Line( 50, Solid, "Blue", "LSL" ),

Add Ref Line( 70, Solid, "Blue", "USL" )}

),

Dispatch( {}, "Control Chart Builder", FrameBox, {Marker Size( 2 )} ),

Dispatch( {}, "Control Chart Builder", FrameBox( 2 ), {Marker Size( 2 )} )

)

)

JMP Systems Engineer, Pharm and BioPharm Sciences

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

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

Re: JSL - showing spec limits as graph reference lines

Highlighted
##

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

Re: JSL - showing spec limits as graph reference lines

How'd you do that? Would you mind sending out the code? Does it work for JMP 12 too?

thank you

M

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

Re: JSL - showing spec limits as graph reference lines

I would suggest taking a look at the following blog post.