cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Huriken
Level I

Creating a dashed median line in boxplot

I'm creating a boxplot, and I want to have a dashed median line in a boxplot. Please give me show me how to do it. I've tried so many times, but I am not successful. Thank you.

4 REPLIES 4
jthi
Super User

Re: Creating a dashed median line in boxplot

Which boxplot? In graph builder or in some other platform?

-Jarmo
Huriken
Level I

Re: Creating a dashed median line in boxplot

In graph builder. Sorry that I forget to include this detail. 

jthi
Super User

Re: Creating a dashed median line in boxplot

I'm not sure if there are any easy ways of doing this when using the simple box plot graph element.

 

But you can overlay it with bar chart (float) and get something like this IF you can change width proportion of box plot

jthi_0-1729009733901.png

You can go a bit further using 2 bar charts, one to hide the black line of box plot (I used white color) and then other to display the line. Note that you might have to change the order of these elements and you might have to adjust the width proportion

jthi_1-1729009846006.png

 

@scwise , any other ideas how to modify part of box plot (median line)?

-Jarmo
scwise
Staff

Re: Creating a dashed median line in boxplot

Great solution!