bugGNU Octave - Bugs: bug #47966, axes(''yaxislocation','zero') does...

 
 

bug #47966: axes(''yaxislocation','zero') does not work with OpenGL toolkits

Submitter:  None
Submitted:  Fri 20 May 2016 11:29:56 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Duplicate Assigned to:  None
Originator Name:  Dmitry Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 14 Nov 2016 08:02:50 PM UTC, comment #3: 

Marking as a duplicate of #48562 and closing.

Rik <rik5>
Group administrator
Mon 14 Nov 2016 07:04:24 PM UTC, comment #2: 

I think this bug report can be closed. I am working on implementing 'yaxislocation' 'origin' on bug #48562. Or should I move developement here?

Markus Mützel <mmuetzel>
Group administrator
Fri 20 May 2016 03:16:37 PM UTC, comment #1: 

The 'zero' option is only useful with the gnuplot toolkit.  The OpenGL graphics toolkits such as FLTK and Qt do not implement it.

Support could be extended to the other two toolkits--the file to modify is gl-render.cc--but somebody would need to have a motivation to do so.

Changing the report to "Feature Request" and marking as Confirmed.

Rik <rik5>
Group administrator
Fri 20 May 2016 11:29:56 AM UTC, original submission:  

Firstly, according to matlab documentation, 'yaxislocation' has can take one of three values: 'left' (default) | 'right' | 'origin'.
'origin' — Display the y-axis so that it passes through the origin point (0,0).
http://www.mathworks.com/help/matlab/ref/axes-properties.html

Octave has 'zero' instead of 'origin' and following code does not place y axis through zero:

axes('xlim',[-1 1],'yaxislocation','zero','box','off');

Anonymous

 

(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 mmuetzel (Posted a comment)
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-14 rik5 Open/ClosedOpen Closed
    2016-11-14 rik5 StatusConfirmed Duplicate
        Dependencies- Depends on bugs #48562
    2016-05-20 rik5 CategoryPlotting Plotting with OpenGL
        Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupMatlab Compatibility Feature Request
        StatusNone Confirmed
        Summaryaxes(\'\'yaxislocation\',\'zero\') does not work. axes(''yaxislocation','zero') does not work with OpenGL toolkits

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code