Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi All
We've been doing multi-element box-whisker/histogram/error-bar plots for a while in coursework and in the past it's worked well. Recently we are no longer able to replicate the plots.
An image of a working plot is here
Alas, they now look like this (note the Box of the combined histogram boxplot has collapsed to a single line (or likely one where the width of the box is simply too small to see.
This happens on multiple machines and neither I nor my students can being back the old [preferred] way. This was working in September of 2020 (for people joining late it is now February 2021)
Ideas?
Bill Capehart
SD School of Mines.
Solved! Go to Solution.
Addendum
Here is a work-around I just found:
I guess the Box Trace was as buggy in September 2020 as it is now in Feb 2021. It was thanks to additionally added plots that it worked as you expected.
Are you sure that a sheet using the very same setting as the non-working example had worked in the past?
According to the help in a boxplot the x-axis should be a string or a vector of strings (silly enough if you want to combine it with other plots). It seems not to be intended to combine "Box Trace" plots with other types in one single plot .
The working example you show seems to only work OK because of the added error plot ant this still works OK these days, too.
Its a quite strange effect and I also experienced other strange effects when I test-drived the "Box Trace" feature in the past. It seems to be a buggy feature.
An example: After fiddling around with the example shown above, I tried the one given in the help:
https://support.ptc.com/help/mathcad/r6.0/en/index.html#page/PTC_Mathcad_Help%2Fto_create_a_box_plot.html%23wwID0EI1SGB
This is how it should look like according to the help:
This is what I got:
I created the whole plot from scratch and now I got this
My conclusion is that its better not to use the "Box Trace" plot at all and create boxplots if needed by other means.
If you trust that PTC will take your concerns seriously and that it will be of use, you can use the support link which VadimirN had provided - Good luck!
Addendum
Here is a work-around I just found:
I guess the Box Trace was as buggy in September 2020 as it is now in Feb 2021. It was thanks to additionally added plots that it worked as you expected.
Thanks Werner.
This workaround indeed worked on the more complex graphics that we were working with.
Thanks Much
Bill
I hope that work-around is reliable enough and works with future version, too.
As I wrote it doesn't not survive a copy of the plot. I tested that it survives a recalculation but I didn't test if it survives a save and reload of the worksheet.
Here is a user-written function to create a boxplot. Input is the result of the "boxplot" function as described in the help. The second function argument is the position on the x-axis (numeric) and the last one is the width of the plot, so you can have boxplots of different widths in on plot.
Drawbacks maybe as follows:
P6 file attached