Subscribe Bookmark RSS Feed

Use of <<Hold in Sheetboxes and Use of Excerpt boxes

vince_faller

Super User

Joined:

Mar 17, 2015

I've been having trouble using excerpt boxes in JMP 10 because the report number isn't always intuitive (it skips numbers depending on graph and other oddities like that).  So I find myself guessing and checking in order to get the look I want in a sheetbox.  I just found out that you don't really need excerpt boxes to do the thing I wanted to do.  For instance the below two windows have the same output.  Which brings me to the question, what is the actual use for these things that's different than putting the graphs directly in sheetpart()?  And as an aside, is there a way to put a scrollbox (because tabulate and other stuff doesn't resize with the sheetbox) inside of an sheetbox using excerptbox?

Names Default To Here( 1 );

Open( "$SAMPLE_DATA/Big Class.jmp" );

New Window( "Excerpt Boxes",

  V Sheet Box(

  <<Hold(

  Bivariate(

  Y( :weight ),

  X( :height ),

  Fit Line()

  )

  ),

  <<Hold(

  Distribution(

  Automatic Recalc( 1 ),

  Continuous Distribution(

  Column( :height ),

  Horizontal Layout( 1 ),

  Vertical( 0 ),

  Outlier Box Plot( 0 )

  )

  )

  ),

  <<Hold( Tree Map( Categories( :age ) ) ),

  <<Hold(

  Bubble Plot(

  X( :height ),

  Y( :weight ),

  Sizes( :age ),

  Coloring( :sex ),

  Circle Size( 6.226 ),

  All Labels( 0 )

  )

  ),

  H Sheet Box(

  Sheet Part(

  "weight by height",

  Excerpt Box(

  1,

  {Picture Box( 1 )}

  )

  ),

  Sheet Part(

  "height",

  Excerpt Box(

  2,

  {Picture Box( 1 )}

  )

  )

  ),

  H Sheet Box(

  Sheet Part(

  "",

  Excerpt Box(

  3,

  {Picture Box( 1 )}

  )

  ),

  Sheet Part(

  "height by weight",

  Excerpt Box(

  4,

  {Picture Box( 1 )}

  )

  )

  )

  )

);

New Window( "No Excerpt Boxes",

  V Sheet Box(

  H Sheet Box(

  Sheet Part(

  "weight by height",

  Bivariate(

  Y( :weight ),

  X( :height ),

  Fit Line()

  )

  ),

  Sheet Part(

  "height",

  Distribution(

  Automatic Recalc( 1 ),

  Continuous Distribution(

  Column( :height ),

  Horizontal Layout( 1 ),

  Vertical( 0 ),

  Outlier Box Plot( 0 )

  )

  )

  )

  ),

  H Sheet Box(

  Sheet Part(

  "",

  Tree Map( Categories( :age ) )

  ),

  Sheet Part(

  "height by weight",

  Bubble Plot(

  X( :height ),

  Y( :weight ),

  Sizes( :age ),

  Coloring( :sex ),

  Circle Size( 6.226 ),

  All Labels( 0 )

  )

  )

  )

  )

);