bugGNU Octave - Bugs: bug #31803, Extend xy grid to z walls of 3D...


bug #31803: Extend xy grid to z walls of 3D plots with gnuplot backend

Submitted by:  Rik <rik5>
Submitted on:  Mon 06 Dec 2010 03:55:36 AM UTC  
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  3 - Low Item Group:  Feature Request
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev 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.


( Jump to the original submission)

Mon 27 Feb 2012 01:44:04 AM UTC, comment #10: 

Yes.  This is something that gnuplot should offer but they haven't displayed any interest in fixing it.  Closing it now.

Rik <rik5>
Project Administrator
Mon 27 Feb 2012 12:38:05 AM UTC, comment #9: 


Ok, to close this ?

Ben Abbott <bpabbott>
Project Member
Tue 25 Jan 2011 06:44:32 PM UTC, comment #8: 


My understanding is that there is a history of requests to fix this. That doesn't mean a new request won't be successful though.


My understanding is that each terminal is implemented differently. Meaning the linestyle and linewidth for the major and minor grids are not consistent for all terminals. If we only draw the missing grid lines they may not have the same appearance as the others. Another risk is that gnuplot will change how the grid lines are drawn and introduce further inconsistency.

Ben Abbott <bpabbott>
Project Member
Tue 25 Jan 2011 06:15:59 PM UTC, comment #7: 

I think it would be much better to fix this in gnuplot instead of trying to kludge something in Octave.

Please consider prompting the gnuplot people to do this first, and then maybe even looking at the gnuplot sources and seeing if it would be hard to do there.

Or is there something in the history of the existing requests for this feature in gnuplot that leads you to believe that they will not at all consider implementing this feature, even as an option?

John W. Eaton <jwe>
Project Administrator
Tue 25 Jan 2011 03:44:20 PM UTC, comment #6: 

Drawing all the lines seems like too big a project.  We shouldn't need to re-implement what gnuplot is supposed to do for us.  I think just the Z-axis would be enough.

Rik <rik5>
Project Administrator
Sat 22 Jan 2011 11:57:56 PM UTC, comment #5: 

Should we consider drawing all the grid lines ourselves? The one definite advantage is that we'd have to ability to determine the line type used for both major and minor grids.

Ben Abbott <bpabbott>
Project Member
Tue 07 Dec 2010 05:04:37 PM UTC, comment #4: 

gnuplot supports multiple coordinate systems.  I think we could get away with specifying the arrows in the coordinate system of the plot ("first" axis) and then allow gnuplot to determine how they should appear based on the view.  Unless, we are doing the view calculations ourselves.

I've lowered the priority on this issue since this would be nice to have, but isn't as critical as some of the other bugs like missing minor grid for the FLTK backend.

Rik <rik5>
Project Administrator
Tue 07 Dec 2010 04:58:14 PM UTC, comment #3: 

I think Octave sets the tick mark locations already, but I'm not sure how the minor-ticks are handled. The problem will be drawing the grid in the correct plane (it will be necessary to account for the "view" property).

Ben Abbott <bpabbott>
Project Member
Tue 07 Dec 2010 04:06:45 PM UTC, comment #2: 

Ugh.  There have been requests for this feature in gnuplot since at least 2006 and yet it is still unimplemented.

It seems that where it is desired, people fake the lines by drawing them in with an arrow command or an additional splot command.  If we have access to the xtic and ytic positions it wouldn't be that hard to use the arrow command.  But if we're using autoscaling, do we let gnuplot decide on the positions?  If that is the case then we wouldn't know the xtic and ytic positions to put in the arrows in advance.

Rik <rik5>
Project Administrator
Tue 07 Dec 2010 01:48:09 PM UTC, comment #1: 

Unfortunately, I don't think gnuplot can do this.

Ben Abbott <bpabbott>
Project Member
Mon 06 Dec 2010 03:55:36 AM UTC, original submission:  

Both Matlab and the FLTK backend plot grids on the xz and yz planes.  gnuplot, however, only plots z contours on the xz and yz planes.  See, as just one example, sombrero_1_1.png at http://octave.sourceforge.net/compare_plots.

Rik <rik5>
Project Administrator


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

Attach Files:

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 jwe (Posted a comment)
  • -email is unavailable- added by bpabbott (Posted a comment)
  • -email is unavailable- added by rik5 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-27 rik5 Open/ClosedOpen => Closed
    2012-02-27 bpabbott StatusNone => Wont Fix
    2010-12-07 rik5 Priority5 - Normal => 3 - Low

    Back to the top

    Powered by Savane 3.5