cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
rahulsmils
Level III

Change thickness of box plots on variability chart

Hi all,

 

I am creating a  variability chart in jmp. The box plot lines look too thin and vanishes amongst markers.

Is there an option to change all the box plot line width at once for the entire figure?

I know I can individually change each box plot by right-clicking each of them separately, but this process becomes tedious for multiple box plots.

 

Can I use that in form of jsl code?

 

Thanks a lot !

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
gzmorgan0
Super User (Alumni)

Re: Change thickness of box plots on variability chart

Boxplots on the variability chart are BoxPlotSeg.  This script demonstrates some of the modifications you can make to a BoxPlot Seg. You can cahnge the line width but I do not see a message to change the box width.

Names Default To Here( 1 );
dt = Open(
	"$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp"
);
vc = dt << Variability Chart(
	Y( :Measurement ),
	X( :Operator, :part# ),
	Show Box Plots(1)
);

_xbp = vc <<Xpath("//BoxPlotSeg");

_xbp << set box style("Solid"); 
_xbp << set box type("Outlier");
_xbp << set fill color ({0,0,221});
_xbp << set transparency(0.3);
_xbp << set line color({0,0,128});
_xbp << set line width(6);

View solution in original post

1 REPLY 1
gzmorgan0
Super User (Alumni)

Re: Change thickness of box plots on variability chart

Boxplots on the variability chart are BoxPlotSeg.  This script demonstrates some of the modifications you can make to a BoxPlot Seg. You can cahnge the line width but I do not see a message to change the box width.

Names Default To Here( 1 );
dt = Open(
	"$SAMPLE_DATA/Variability Data/2 Factors Crossed.jmp"
);
vc = dt << Variability Chart(
	Y( :Measurement ),
	X( :Operator, :part# ),
	Show Box Plots(1)
);

_xbp = vc <<Xpath("//BoxPlotSeg");

_xbp << set box style("Solid"); 
_xbp << set box type("Outlier");
_xbp << set fill color ({0,0,221});
_xbp << set transparency(0.3);
_xbp << set line color({0,0,128});
_xbp << set line width(6);