bugGNU Octave - Bugs: bug #44246, Error: legend.m at line 147,...

 
 

bug #44246: Error: legend.m at line 147, column 7

Submitter:  None
Submitted:  Sat 14 Feb 2015 01:17:12 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Gregg Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Feb 2015 03:15:26 PM UTC, comment #2: 

I fixed this bug in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/52cd69e79784).  This fix will be a part of the upcoming 4.0 release in the next month or so.

Rik <rik5>
Group administrator
Sat 14 Feb 2015 01:26:03 AM UTC, comment #1: 

Confirmed.  The bug is still present on the development branch.  And I tested with fltk and gnuplot toolkits on a Linux platform.

Rik <rik5>
Group administrator
Sat 14 Feb 2015 01:17:12 AM UTC, original submission:  

This seems to be another instance of bug #42774. I apologize if you would've preferred I comment on that rather than reporting another bug.

I ran the following command:


a=0:pi/255000:pi/1000; b=sin(a*40000)+sin(a*20000)+sin(a*30000); plot(a,fft(b),".-;fft(b);", a, b, "-;b;"); [max_value, max_index] = max(real(fft(b)))


The response was a plot which looks correct, but does not have a legend, and the following text:


error: legend.m: This should not happen. File a bug report.
error: called from:
error:   C:\Program Files (x86)\octave-3.8.2\share\octave\3.8.2\m\plot\appearance\legend.m at line 147, column 7
error:   C:\Program Files (x86)\octave-3.8.2\share\octave\3.8.2\m\plot\draw\private\__plt__.m at line 149, column 7
error:   C:\Program Files (x86)\octave-3.8.2\share\octave\3.8.2\m\plot\draw\plot.m at line 220, column 10


The attached file recreates the error. Commented lines were originally run, but had incorrect syntax, and therefore create unrelated errors.

I hope this helps.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33069:  bug_report.m added by None (10KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (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 group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-14 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-02-14 rik5 CategoryPlotting with gnuplot Plotting
        StatusNone Confirmed
    2015-02-14 None Attached File- Added bug_report.m, #33069

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code