14.03.2014 Views

Scripting Guide - JMP

Scripting Guide - JMP

Scripting Guide - JMP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 Introducing JSL Chapter 1<br />

Samples of JSL Scripts<br />

Figure 1.8 Spec Limits Collection<br />

Custom displays<br />

You can also use scripting to create new displays from results that <strong>JMP</strong> already knows how to make. For<br />

example, quality engineers frequently study six common capability analysis displays for a process<br />

variable: an Individual Measurement chart (also known as an X-chart), a moving range chart, a<br />

histogram, a box plot, quantiles, and basic descriptive statistics. <strong>JMP</strong> provides each of these displays,<br />

but by default they appear in two different platforms: the two classic QC displays are in Control Chart,<br />

and the others are performed by Distribution.<br />

To view these results together in one window, you simply need to build a New Window that contains<br />

one parent Outline Box node with two results, one from Control Chart and the other from<br />

Distribution. To do this, place the usual commands for launching the platforms inside VListBox,<br />

which is simply a vertical container, and then glue the two containers together side-by-side with<br />

HListBox, which is a horizontal container. The HListBox goes inside one OutlineBox, and that<br />

comprises the contents of the New Window.<br />

csp=NewWindow("Capability Sixpack",<br />

OutlineBox("Capability Sixpack",<br />

HListBox(<br />

VListBox(cc=Control Chart(chart Col(Height, Individual

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!