bugGNU Octave - Bugs: bug #40251, Pan vs rotate for 3d plots with...


bug #40251: Pan vs rotate for 3d plots with FLTK vs Qt vs gnuplot

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Sat 12 Oct 2013 07:00:12 PM UTC  
Category: PlottingSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: Need InfoAssigned to: None
Originator Name: Open/Closed: Open
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.


(Jump to the original submission Jump to the original submission)

Thu 24 Nov 2016 02:27:28 PM UTC, comment #7:

I think we should exceed expectations here. I don't find it natural from a UX (user experience) perspective that the left button isn't bound to some action by default. It seem slow and clumsy that every time a new plot comes up one has to select the action from a menu first.

Rik <rik5>
Project Administrator
Thu 24 Nov 2016 12:59:33 PM UTC, comment #6:

Here is what Matlab (V2014b) does:
(not that we need to copy them)

2D and 3D:
No default action for any left click, scroll, right click mouse action in the figure windows. You need to select an action from the toolbar first, before you can manipulate the plot.

So with our current qt graphics toolkit we are doing the very same (in Octave 4.2.0).

Hartmut <hardy>
Sat 26 Sep 2015 03:27:14 AM UTC, comment #5:

I just compiled and installed 4.0.0 (Debian Linux host). I am also seeing that the default is to have nothing mapped to any mouse actions. Here is what is intuitive for me:

Click drag to pan
Scroll to zoom
double click to reset view

Click drag to rotate
scroll to zoom
double click to reset view

Additionally, the Gnuplot backend used to show the cursor position in the status bar, which is very helpful when reading graphs and plots. This should be part of the new FLTK backend as well.

This is a significant usability issue since a lot of people spend a substantial fraction of their time in Octave working with the plotting tools. I request increasing the severity of this issue.

Sat 07 Feb 2015 05:29:30 PM UTC, comment #4:

I like having sensible defaults. It seems weird to me that it comes up with neither mode, pan or rotate, selected. For 3-D, I think rotate is the natural default. For 2-D, I would make the default pan.

Maybe need to ask on the Octave-Maintainers list for someone with Matlab to verify what they do for defaults (not that we have to copy them).

Rik <rik5>
Project Administrator
Sat 07 Feb 2015 05:09:10 PM UTC, comment #3:

The behavior for both FLTK and Qt for the upcoming 4.0 release is now to do nothing by default with a left mouse drag, the user has to select either the pan or rotate modes (or zoom mode in Qt) for a mouse drag to do anything.

In FLTK, right mouse drag does a zoom, prints a warning in Qt.

Gnuplot behavior hasn't changed, the default is still to rotate 3D plots when they first appear. If there's nothing that can be done about that, I'm ok with closing this as won't fix, and put the focus on consistency between FLTK and Qt going forward.

Mike Miller <mtmiller>
Project Administrator
Sat 12 Oct 2013 07:58:40 PM UTC, comment #2:

For 2-D plots, FLTK pans when a left mouse drag is done. So for FLTK, it does the same thing with 2-D and 3-D plots.

Gnuplot does nothing by default with a left mouse drag on a 2-D plot.

Mike Miller <mtmiller>
Project Administrator
Sat 12 Oct 2013 07:53:56 PM UTC, comment #1:

I agree. And does the behavior change based on whether a 2-D graph, like plot(), is done or a 3-D plot, like surf, is done?

Rik <rik5>
Project Administrator
Sat 12 Oct 2013 07:00:12 PM UTC, original submission:

The initial mouse-drag function when plotting with FLTK is to pan the plot view. The initial mouse-drag function when plotting with gnuplot rotates the plot view. This should probably be consistent between plotting toolkits and consistent with what Matlab does by default (I'm not sure what that is).

Mike Miller <mtmiller>
Project Administrator


(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 hardy (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 07 Feb 2015 05:09:10 PM UTCmtmillerStatusNone=>Need Info
      SummaryPan vs rotate for 3d plots with FLTK vs gnuplot=>Pan vs rotate for 3d plots with FLTK vs Qt vs gnuplot

    Back to the top

    Powered by Savane 3.1-cleanup1