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: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating 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 File(s):
   
   
Comment:
   

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 mmuetzel (Posted a comment)
  • -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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Dec 2016 01:10:14 PM UTCmmuetzelStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Operating SystemGNU/Linux=>Any
    Wed 09 Jul 2014 09:06:31 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1