bugGNU Octave - Bugs: bug #46073, Tick marks and grid lines visible...

 
 

bug #46073: Tick marks and grid lines visible on axes outline

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Tue 29 Sep 2015 07:45:28 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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 22 Aug 2016 09:47:12 PM UTC, comment #3: 

Yes, the original bug is fixed. Closing report.

Pantxo Diribarne <pantxo>
Group Member
Mon 22 Aug 2016 09:32:49 PM UTC, comment #2: 

I think I have fixed this.  Try a development cset >= e31f6726cfcd.

Rik <rik5>
Group administrator
Tue 29 Sep 2015 01:41:19 PM UTC, comment #1: 

I looked at this a long time ago and found it much more difficult than I expected.  At the time I tried to implement what you suggest is the best option, and which I thought was also the best option as well.  This was to draw grid lines only for the grid and not draw the outer ones at all depending on the value of 'box'.  What I found was that when rotating a 3-D figure one could essentially reverse the axes positions.  This meant the initial drawing of the figure was correct, but subsuquent rotations would create the same problem of putting the axis and grid on top of each other.  I've attached my very incomplete experiment from that time as grid.diff.  It might help you some, or you could ignore it completely.

(file #35010)

Rik <rik5>
Group administrator
Tue 29 Sep 2015 07:45:28 AM UTC, original submission:  

Tick marks and outer grid lines are currently drawn above the axes outline. See e.g.:


clf
axes ("xcolor", "r", "ticklength", [.1 .1], "linewidth", 4, "ygrid", "on", "xgrid", "on")
box off


I'd be in favor of either drawing them before the axes outline (so that they are hidden below) or not drawing outer ones(those at the limits) at all. The latter solution is probably the best (no potential visual artifact due to anti-aliasing in printout), but it has to take into account the presence of the outline: in the above example we would like a tick mark at x=1 but not at x=0 (same for the vertical grid line)
Any opinion?

Pantxo Diribarne <pantxo>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #35010:  grid.diff added by rik5 (4KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by pantxo (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-22 pantxo StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-08-22 rik5 StatusNone Ready For Test
    2015-09-29 rik5 Attached File- Added grid.diff, #35010

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code