bugGNU Octave - Bugs: bug #62394, [octave forge] (statistics)...

 
 

bug #62394: [octave forge] (statistics) `normplot` error message

Submitter:  Liang Tang <lt1234>
Submitted:  Mon 02 May 2022 06:51:45 PM UTC
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  lt1234 Open/Closed:  * Closed
Release:  * 7.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Sat 13 Aug 2022 07:14:04 PM UTC, comment #2: 

The function has been rewritten to handle matrices, each column is treated separately and NaN values are ignored. Separate handles for data and lines are returned. The lines beyond 1st and 3rd quartiles are dotted as in Matlab. BISTs and demos have been added. The function uses `line` instead of relying on the `plot` function.

Changes pushed at https://github.com/gnu-octave/statistics/commit/a1021e6ee61abdd77d4d6e9aba1a4621e218e60f
An additional commit 9b481f pushed at https://github.com/gnu-octave/statistics/commit/91b481f16fade60ea17d2ffcc67985ac067c11ff fixes documentation. This can be closed

Andreas Bertsatos <pr0m1th3as>
Mon 02 May 2022 08:23:08 PM UTC, comment #1: 

haven't stepped through, but looking at the source for normplot, the last change was in 2017 (https://sourceforge.net/p/octave/statistics/ci/427b93d66b774b7da542ef699738096e04d362ff/log/?path=/inst/normplot.m) so it appears the change must be due to a change in __plt__.m, plot.m, or maybe __pltopt__.m  which is called right before the error.

since that's the 'ischar...' section, it must be dealing with the last parameter supplied by normplot, '[num2str(i),";;"]'.  Which for your normplot example with only 1 plot is "1;;".  Need to look a little further to see why it sets off the "if (nargs == 0)" condition on line 96 when it didn't in v6.4.0

Nicholas Jankowski <nrjank>
Project Member
Mon 02 May 2022 06:51:45 PM UTC, original submission:  

normplot  works in 6.3.0.  But error messages were given in 7.1.0.
Thanks. 

>> figure; normplot([1:20])

error: plot: properties must appear followed by a value
error: called from
    _plt_ at line 97 column 13
    plot at line 235 column 10
    normplot at line 53 column 5

>> which normplot

'normplot' is a function from the file C:\Octave\Octave-7.1.0\mingw64\share\octave\packages\statistics-1
.4.3\normplot.m

Liang Tang <lt1234>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pr0m1th3as (Posted a comment)
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by lt1234 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-08-15 nrjank StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2022-05-04 mmuetzel Carbon-CopyRemoved 102357 -
    2022-05-04 mmuetzel StatusNone Confirmed
        Operating SystemMicrosoft Windows Any
        SummaryNormplot error message [octave forge] (statistics) `normplot` error message

    Back to the top


    Powered by Savane 3.9