bugGNU Octave - Bugs: bug #39776, newplot() not returning axis handle


bug #39776: newplot() not returning axis handle

Submitted by:  Ricardo Cruz <rpmcruz>
Submitted on:  Mon Aug 12 21:42:50 2013  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: DuplicateAssigned to: None
Originator Name: Ricardo CruzOpen/Closed: Closed
Release: 3.6.4Operating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Aug 13 06:13:51 2013, comment #2:

Your bug report is a bit incomplete. What would be the expected output of your test?
Anyway, this bug was fixed, but only for the development version (expected 3.8.x or greater). So no, 3.6.4 doesn't have the fix yet. That was outlined (but maybe too cryptic for you) in that very bug #38146 report.

FYI, using a development "tip" of Aug. 12 evening (yesterday; sorry I'm not on Linux where I cross-built Octave for Windows so I can't check hg summary) I get this:

Philip Nienhuis <philipnienhuis>
Project Member
Mon Aug 12 21:47:52 2013, comment #1:

Noticed there is bug #38146. But that report is marked as fixed, and I just tried the most recent Octave ...

Ricardo Cruz <rpmcruz>
Mon Aug 12 21:42:50 2013, original submission:

The function newplot() does not return an axis handle.

cf: http://www.mathworks.com/help/matlab/ref/newplot.html?searchHighlight=newplot

Test example:

cax = newplot();
fAngle = get(cax, 'DefaultTextFontAngle')

Example of a package that does not work:


Ricardo Cruz <rpmcruz>


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

Attach File(s):

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rpmcruz (Submitted the item)
  • -unavailable- added by rpmcruz

    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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 12 22:42:46 2013mtmillerStatusNone=>Duplicate
      Dependencies-=>Depends on bugs #38146
    Mon Aug 12 21:42:50 2013rpmcruzCarbon-Copy-=>Added rpmcruz

    Back to the top

    Powered by Savane 3.1-cleanup1