Hi,
Is it possible to plot side by distribution plots in one graph with tall table? something like Graph Builder?
Something like this?
BR,
Jackie
Yes, Graph Builder can do that. I've attached the example below.
@Jed_Campbell yes I am aware, but how to plot distribution histogram side by side in the same graph?
Sorry, @Jackie_, I must be misunderstanding what you're looking for. Or, perhaps I chose a bad data set with not enough data to make the shape of a histogram. Here's another example of side by side histograms in the Graph Builder. If this isn't what you're looking for, can you please clarify?
Here is another way to do it
Names Default To Here( 1 ); // Open Data Table: big class.jmp // → Data Table( "big class" ) Open( "/C:/Program Files/SAS/JMPPRO/16/Samples/Data/big class.jmp" ); nw = New Window( "", H List Box( Distribution( uniform scaling( 1 ), Continuous Distribution( Column( :height ), Quantiles( 0 ), Summary Statistics( 0 ), Outlier Box Plot( 0 ) ), by( :age ) ) ) );
You can also do this via the Oneway flavor of Fit Y By X:
// Open Data Table: Semiconductor Capability.jmp // → Data Table( "Semiconductor Capability" ) Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" ); // Report snapshot: Semiconductor Capability - Fit Y by X of NPN1 by lot_id Data Table( "Semiconductor Capability" ) << Oneway( Y( :NPN1 ), X( :lot_id ), Histograms( 1 ) );
@Jed_Campbell
I think the data table I have is in tall format. So the tests are grouped in columns. Is there a way to plot side by side in graph builder with tall table? I have attached below
The problem is you cannot plots all the processes in the same oneway plot
It is a very simple to stack the data into a new table, and then to run the Oneway's from it.
Hi @Jackie_ ,@Jordan_Hiller offers a practical solution, i would only add the Compare Densities option as follows:
// Open Data Table: Semiconductor Capability.jmp // → Data Table( "Semiconductor Capability" ) Open( "$SAMPLE_DATA/Semiconductor Capability.jmp" ); // Report snapshot: Semiconductor Capability - Fit Y by X of NPN1 by lot_id Data Table( "Semiconductor Capability" ) << Oneway( Y( :NPN1 ), X( :lot_id ), Compare Densities( 1 ), Histograms( 1 ) );
it will give you a graph like this:
let us know if it worked ?
Stack() works
Hi @ron_horne @txnelson @Jordan_Hiller,
Is there a way to get the Spec limits (USL and LSL) from the Column properties of the datatable in the stack table and add in the graph builder? For instance, if I make a plot with a X group, and I want to put different reference lines for each group/panel only. Is that possible?
Thanks,