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:
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



    New Member


    Posts:7
    New 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.


    MOST RECENT

    Extract Actionable Information with Advanced ENVI Image Analytics on GBDX | Live Webinar

    3/13/2018

    Live Webinar hosted by DigitalGlobe | April 5 ENVI analytics are available directly within... more »

    ENVI Crop Science | DEMO

    3/13/2018

    Watch this video for a demonstration of ENVI Crop Science and learn about the features available in the... more »

    SIGN UP & STAY INFORMED

    Sign up to receive the latest news, events, technologies and special offers.

    SIGN ME UP