How to make a stacked data table invisible?<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />I have written a script that stacks some of my data columns and then produces a graph from those stacked columns. I do not want the stacked data table to appear when I run this script, however (I only want the graph) but cannot figure out how to make the new table invisible. For example, if I have the following, is there somewhere I can add in an Invisible parameter so the stacked table doesn't appear? Thanks in advance!
Data Table( "test" ) <<
Stack(
columns(
:Name(
"example"
)
:Name(
"example"
)
)
Re: How to make a stacked data table invisible?Thanks so much for the prompt help
Re: How to make a stacked data table invisible?Thanks so much for the prompt help, Ron!
Re: How to make a stacked data table invisible?Hello,
The following example demonstrates where the Invisible option can be placed in the Stack():
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Dogs.jmp" );
dt << Stack(
columns( :LogHist0, :LogHist1, :LogHist3, :LogHist5 ),
Source Label Column( "Time" ),
Stacked Data Column( "Log Hist" ), Invisible
);
Hope this helps.
Wendy
Re: How to make a stacked data table invisible?hi isabellet14 ,
try this:
Names Default To Here( 1 );
//This message applies to all display box objects
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt10 = dt << Stack( columns( :height, :weight ), Source Label Column( "Label" ), Stacked Data Column( "Data" ), invisible );
Distribution(
SendToByGroup( {:Label == "height"} ),
Stack( 1 ),
Continuous Distribution( Column( :Data ), Horizontal Layout( 1 ), Vertical( 0 ), Show Percents( 1 ), Customize Summary Statistics( Sum( 1 ) ) ),
By( :Label ),
SendToByGroup(
{:Label == "height"},
SendToReport(
Dispatch( {"Distributions Label=height", "Data"}, "Distrib Histogram", FrameBox, {DispatchSeg( Hist Seg( 1 ), Histogram Color( 53 ) )} )
)
),
SendToByGroup(
{:Label == "weight"},
SendToReport(
Dispatch( {"Distributions Label=weight", "Data"}, "Distrib Histogram", FrameBox, {DispatchSeg( Hist Seg( 1 ), Histogram Color( 53 ) )} )
)
)
);