bugPSPP - Bugs: bug #44702, Boxplot y axis too tight

 
 

bug #44702: Boxplot y axis too tight

Submitted by:  Daniel Schlieper <daniel_schlieper>
Submitted on:  Thu 02 Apr 2015 04:50:17 PM UTC  
 
Category:  Output Driver Severity:  3 - Ordinary
Status:  Confirmed Assigned to:  None
Open/Closed:  Open Release:  None
Effort:  0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 01 Mar 2016 09:48:19 AM UTC, comment #1:

I extracted the data from all the files below. The behavior can be seen with the following code.

I attached a screenshot with the boxplot "boxplot-range" showing that the boxplot is on the frame border.

However, I am not even sure if we should change this. This is a general question if the min and max values should be at the frame border or not.

(file #36520)

Friedrich Beckmann <beckmanf>
Project Member
Thu 02 Apr 2015 04:50:17 PM UTC, original submission:

Dear PSPP team,

I tried to get a boxplot from the attached test data, but the frame of the figure overlaps with the plot. This way, it is impossible to use the plot (see test1.png).

The y axis of the boxplot should start with 0 and end with a value slightly higher than max. Ideally, the range would be an optional parameter.

A workaround is the addition of a mock variable that forces the y axis to a useful range (see workaround1.png).

Attached are the ods files for the data. Here are the scripts to reproduce the figures:

show bug:
==============================================================
pspp -O charts=bug#.png
get data /type=ods /file='BoxplotTest.ods'.
examine variables=Example /plot=boxplot .
finish.

get usable boxplot with y from 0 to 23
==============================================================
pspp -O charts=workaround#.png
get data /type=ods /file='BoxplotWorkAround.ods'.
examine variables=Example Mock /compare=variables /plot=boxplot.
finish.

Best regards, Daniel

Daniel Schlieper <daniel_schlieper>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36520:  boxplot-range.JPG added by beckmanf (21KiB - image/jpeg)
file #33512:  test1.png added by daniel_schlieper (7KiB - image/png - see text)
file #33513:  BoxplotTest.ods added by daniel_schlieper (12KiB - application/vnd.oasis.opendocument.spreadsheet - see text)
file #33514:  workaround1.png added by daniel_schlieper (7KiB - image/png - see text)
file #33515:  BoxplotWorkAround.ods added by daniel_schlieper (13KiB - application/vnd.oasis.opendocument.spreadsheet - see text)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by beckmanf (Updated the item)
  • -email is unavailable- added by daniel_schlieper (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-01 beckmanf StatusNone => Confirmed
    2016-03-01 beckmanf Attached File- => Added boxplot-range.JPG, #36520
        CategoryNone => Output Driver
        Severity5 - Average => 3 - Ordinary
    2015-04-02 daniel_schlieper Attached File- => Added test1.png, #33512
        Attached File- => Added BoxplotTest.ods, #33513
        Attached File- => Added workaround1.png, #33514
        Attached File- => Added BoxplotWorkAround.ods, #33515

    Back to the top


    Powered by Savane 3.3