Is there a way to set the plot ranges for all plots in a platform the same?I think the subject is self-explanatory:
I run a platform and have many generated plots. Now in many cases it makes a lot of sense to have all the plot axes ranges to be the same. It is very tedious to do this by hand.
I tried holding the Ctrl key when changing the axes on one plot, but that does not propagate to the other plots.
Design of ExperimentsRe: Is there a way to set the plot ranges for all plots in a platform the same?Not sure if it can be done interactively, but it can be scripted. Here is fairly simple example
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
dist = dt << Distribution(
Continuous Distribution(Column(:NPN1), Process Capability(0)),
Histograms Only,
By(:lot_id)
);
wait(1);
(dist << XPath("//AxisBox")) << Min(0);Re: Is there a way to set the plot ranges for all plots in a platform the same?I think the answer probably depends on which platform that you refer to. For the distribution there is a uniform scaling option, shown here in the associated JSL, but can be turned on from the red triangle.
Distribution(
Uniform Scaling( 1 ),
Continuous Distribution( Column( :NPN1 ), Process Capability( 0 ) ),
Histograms Only,
Where( :lot_id == "lot01" )
);
Re: Is there a way to set the plot ranges for all plots in a platform the same?Hi,
I propagated the settings for the ranges successfully but perhaps slightly differently. My method:
1. Set the ranges in in one graph
2. Right -Click on the axis and "Edit > Copy Axis Settings"
3. Ctrl-Right-Click "Edit>Paste Axis Settings"
The simple ctrl - Axis settings doesn't do it as you have already found out.
Andy
Re: Is there a way to set the plot ranges for all plots in a platform the same?Hi David, specifically, I am using the Measurement Systems Analysis (Gauge R&R) platform.
Re: Is there a way to set the plot ranges for all plots in a platform the same?Andy, this is almost as tedious as changing the axes limits by hand one by one.
Re: Is there a way to set the plot ranges for all plots in a platform the same?The 'ctrl' in step 3 will apply the settings to all plots in the window. It's pretty quick and likely the fastest way to do it without scripting.
Re: Is there a way to set the plot ranges for all plots in a platform the same?As has been pointed out, the interactive method is to use the control key whilst selecting the option to paste axis settings (having previously copied the settings).
With scripting you can do something like this:
names default to here(1);
open("$SAMPLE_DATA/Variability Data/3 Factors Nested & Crossed.jmp");
vc = Variability Chart( Y( :Y ), X( :Instrument, :Part ), By( :Operator ) );
// get a list of outlines that contain variability charts
lstOutlines = vc << xpath("//OutlineBox[starts-with(., 'Variability Chart')]");
// each outline contains 2 charts (Y and StdDev)
// and each chart contains 2 axes (1st = y-axis, 2nd = x-axis)
// build a list of y-axes for the Y chart and also determine
// the minimum min and maximum max
lstAxes = {};
minmin = 1e6;
maxmax = -1e6;
for each({outline},lstOutlines,
yAxis = outline[1][AxisBox(1)];
minmin = min(minmin,yAxis<<GETMIN></GETMIN>
Re: Is there a way to set the plot ranges for all plots in a platform the same?I see.
Thank you for this.
It is a completely non-intuitive method (typical JMP).
Re: Is there a way to set the plot ranges for all plots in a platform the same?@TheDude, If you have a methodology that you think would be better, I suggest that you place that in the JMP Wish List. The JMP folks will then take a look and hopefully come up with an improved methodology. I have done this in the past, and have had the JMP Folks come back and show me why my suggestion was short sighted.......and I have also had to opposite happen, where they came back to me and worked through my suggested methodology, and it was implemented into the next release of JMP.
Re: Is there a way to set the plot ranges for all plots in a platform the same?Well, here is another approach.
Select all of your columns that are to have the same axis.
Go to the columns menu and choose Standardize Attributes.
Under Standardize Properties choose Axis from the list of Column Properties.
It may not be necessary, but I would recommend that you change the "Save to column" to "All Axis Properties"
Click the Set Default Axis Settings button and specify how you want the axis to look.
Click the OK boxes to get out of the dialog.
Now every plot you create with those columns will have the same axis properties.