I am trying to use distribution to create histograms By(: DeviceID), However when I apply the fill color only the last graph in the By statement gets changed to light blue. No matter what I do, only the last graph changes color. I just want the graphs to not be green.
Options that work for me:
1) color histograms by device ID
2) color histograms both to be blue
WaferRgPastMonth << Distribution(
Stack( 1 ),
Automatic Recalc( 1 ),
Continuous Distribution( Column( :Rg ), Horizontal Layout( 1 ), Vertical( 0 ) ),
By( :DeviceID ),
Local Data Filter( Close Outline( 1 ), Add Filter( columns( :FailDie ), Where( :FailDie == 0 ) ) ),
SendToReport(
Dispatch( {"Rg"}, "Distrib Outlier Box", FrameBox, {Frame Size( 350, 46 )} ),
Dispatch(
{"Rg"},
"Distrib Histogram",
FrameBox,
{Frame Size( 277, 110 ), DispatchSeg( Hist Seg( 1 ), {Line Color( {56, 82, 112} ), Fill Color( "Light Blue" )} )}
)
)
);
If you restructure your code, you will be able to set the histograms to the color you want
names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dis = dt << Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :weight ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 )
),
By( :Sex )
);
dis<<histogram color("blue");
If you restructure your code, you will be able to set the histograms to the color you want
names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
dis = dt << Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :weight ),
Quantiles( 0 ),
Summary Statistics( 0 ),
Horizontal Layout( 1 ),
Vertical( 0 )
),
By( :Sex )
);
dis<<histogram color("blue");