X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 13 Dec 2017 03:49 PM by  Ben Castellani
Boxplot outliers broken if single outlier
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Achim Holtmann



New Member


Posts:4
New Member


--
07 Dec 2017 03:24 AM
    After having failed to use tech support (critical error - please check "event viewer"), this is the bug I wanted to report:

    This works:
    arr = [1,2,3,4,5,2,1,2,3,999,999]
    bpd = createboxplotdata(arr, OUTLIER=out)
    o = boxplot(bpd, OUTLIER=out)

    This does not work (IDL does not draw outlier point):
    arr = [1,2,3,4,5,2,1,2,3,999]
    bpd = createboxplotdata(arr, OUTLIER=out)
    o = boxplot(bpd, OUTLIER=out)

    (tested under Windows 10, IDL 8.6.0)

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    13 Dec 2017 03:49 PM
    Thank you for the information. I have filed a bug for this issue. The Bug # is IDL-69883. Use this number to check the status in the future.

    In the meantime, here is a work-around for the issue:

    arr = [1,2,3,4,5,2,1,2,3,999]
    bpd = createboxplotdata(arr, OUTLIER=out)
    if size(out,/n_dimensions) eq 1 then begin
    out = [[out],[out]]
    endif
    o = boxplot(bpd, OUTLIER=[out])


    Cheers,
    Ben

    Harris Geospatial Solutions
    You are not authorized to post a reply.