bugGNU Octave - Bugs: bug #42715, support for axis zero location


bug #42715: support for axis zero location

Submitted by:  Muhali <muhali>
Submitted on:  Wed 09 Jul 2014 09:31:53 AM UTC  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Wed 09 Jul 2014 09:06:31 PM UTC, comment #1:

This should be pretty feasible. The fix will be in gl-render.cc. There are three routines for drawing the axes: draw_axes_[xyz]_grid. Within each is a call to render_tickmarks which needs to be changed. I just did a quick hack and I got the tickmarks to be at the correct location. A real solution would require drawing the axis line and changing how draw_axes_boxes() works since it is the current function which draws the axis line.

Rik <rik5>
Project Administrator
Wed 09 Jul 2014 09:31:53 AM UTC, original submission:

Numerous examples exist where the axis location is centered about some origin (often (0,0)), see, for example,


R and many other languages allow for this important feature, but not Matlab (where it is often requested). It would definitely increase the appeal of using octave as an open source alternative.

See also this bug report.

Muhali <muhali>


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

Attach File(s):

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 muhali (Submitted the item)

    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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Jul 2014 09:06:31 PM UTCrik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup