octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9930] [octave forge] (statistics) boxplot


From: Andreas Bertsatos
Subject: [Octave-patch-tracker] [patch #9930] [octave forge] (statistics) boxplot function with extended features
Date: Sat, 27 Jun 2020 14:54:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Follow-up Comment #17, patch #9930 (project octave):

Back once again :)

Phillip,

I 've used the latest boxplot you supplied through all my research code and it
works great without any problem. Even old code that used the positional
arguments worked out of the box.

However, I 've made an additional feature update an that's why I ended up
reproducing all my figure boxplots once again to test it.

The latest update includes an extra option I added ('CapWidths') which allows
the user to define a scaling factor for the cap lengths of the whiskers. I
know that you 've changed the size in one of your previous updates and then I
switched it back to the original default value for compatibility issues, but
during this week's work I made some boxplots for my research results and
realized that the the caps were too small. Although I just slightly modified
the code to do my work, I realized that this would be a nice and forthcoming
extra option for everyone else. So I implemented the extra option in the file
I've attached as boxplot_v5.m along with the diff file (boxplot_v4-v5.patch)
with respect to your latest version.

The default CapWidths scaling is 1, which leaves the length at the originally
default value, i.e. widths / 8 => 0.4 / 8 = 0.05, and the scaling is applied
on the widths. Of course, it works accordingly if proportional BoxWidth is
selected in user options.

I think it is a useful extra feature and well tested as well :)

Many thanks

(file #49377, file #49378)
    _______________________________________________________

Additional Item Attachment:

File name: boxplot_v5.m                   Size:33 KB
    <https://savannah.gnu.org/file/boxplot_v5.m?file_id=49377>

File name: boxplot_v4-v5.patch            Size:1 KB
    <https://savannah.gnu.org/file/boxplot_v4-v5.patch?file_id=49378>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9930>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]