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


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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

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


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

Marking as a duplicate of #48562 and closing.

Rik <rik5>
Project 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>
Project Member
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>
Project 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).

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

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



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

Attach Files:

No files currently attached


   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)

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

    Only project 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.5