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 OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 29 Dec 2016 01:10:14 PM UTC, comment #2:

The axes properties "xaxislocation" and "yaxislocation" can be set to "origin" now which should be treated correctly by the gnuplot, qt and fltk graphics toolkits (the latter two work only in the dev version which will probably become Octave 4.4 next year, see bug #48562).

Closing this feature request as fixed.

Markus M├╝tzel <mmuetzel>
Project Member
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,

http://en.wikipedia.org/wiki/Cartesian_coordinate_system

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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-29 mmuetzel StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
        Operating SystemGNU/Linux => Any
    2014-07-09 rik5 StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.3