bugGNU Octave - Bugs: bug #46140, legend function returns error,...

 
 

bug #46140: legend function returns error, "error: A(I): index out of bounds; value 119 out of bound 12

Submitted by:  None
Submitted on:  Wed 07 Oct 2015 12:46:37 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: toby wehrhanOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 08 Oct 2015 01:44:05 AM UTC, comment #2:

Doug,

Thanks for your prompt reply. Problem was that there was a string named "legend" in my workspace! Cleared that and function legend() works fine. So sorry for the confusion.

I've posted same in bug tracker.

Thanks again.

Toby

This can be closed.
Doug Stewart

Doug Stewart <dastew>
Wed 07 Oct 2015 05:57:47 AM UTC, comment #1:

Hi,

This works for me both using gnuplot and opgengl based toolkits. It looks like you have a legend.m script somewhere in your path that shadows the original Octave version. What does the following command return in Octave?

This will tell you where the offending script is.

Pantxo Diribarne <pantxo>
Project Member
Wed 07 Oct 2015 12:46:37 AM UTC, original submission:

Whenever I try to use the plot legend() function-- either from command line or with in a *.m script-- I get an "out of bound" error.

For example the following code (copied from the command window) yields the error....

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Oct 2015 01:50:43 AM UTCmtmillerOpen/ClosedOpen=>Closed
    Wed 07 Oct 2015 05:57:47 AM UTCpantxoStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1