bugGNU Octave - Bugs: bug #38146, newplot() doesn't return the...

 
 
Show feedback again

bug #38146: newplot() doesn't return the handle to the prepared axes

Submitted by:  None
Submitted on:  Tue 22 Jan 2013 09:02:51 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Thu 21 Feb 2013 12:15:13 AM UTC, comment #3:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/c90c9623b20f).

Rik <rik5>
Project Member
Tue 22 Jan 2013 09:47:30 PM UTC, comment #2:

Apparently newplot() has been extended to return a handle to the axes (not figure) that is created. See documentation for newplot here (http://www.mathworks.com/help/matlab/ref/newplot.html).

Accordingly, I'm marking this as a compatibility issue.

Rik <rik5>
Project Member
Tue 22 Jan 2013 09:11:40 PM UTC, comment #1:

newplot by itself should not return anything, so I think you need a check on nargout.

John W. Eaton <jwe>
Project Administrator
Tue 22 Jan 2013 09:02:51 PM UTC, original submission:

ax = newplot;
prepares the axes but fails to return the handle.

in share/octave/3.6.2/m/plot/newplot.m:

function ca = newplot ()
^^^^^
missing

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 rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Feb 2013 12:15:13 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 22 Jan 2013 09:47:30 PM UTCrik5Item GroupNone=>Matlab Compatibility
      StatusNone=>Confirmed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup