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

 
 

bug #39776: newplot() not returning axis handle

Submitter:  Ricardo Cruz <rpmcruz>
Submitted:  Mon 12 Aug 2013 09:42:50 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Ricardo Cruz Open/Closed:  * Closed
Release:  * 3.6.4 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Aug 2013 06:13:51 AM UTC, 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:


>> cax = newplot()
cax = -1.0013
>> fAngle = get(cax, 'DefaultTextFontAngle')
fAngle = normal


Philip Nienhuis <philipnienhuis>
Group Member
Mon 12 Aug 2013 09:47:52 PM UTC, 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 12 Aug 2013 09:42:50 PM UTC, 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:

http://www.mathworks.com/matlabcentral/fileexchange/2299-ternplot

Ricardo Cruz <rpmcruz>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-12 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #38146
    2013-08-12 rpmcruz Carbon-Copy- Added rpmcruz

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code