bugGNU Octave - Bugs: bug #39546, "currentaxes" property...

 
 

bug #39546: "currentaxes" property does not follow the mouse

Submitter:  None
Submitted:  Mon 22 Jul 2013 03:35:24 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  bpabbott
Originator Name:  Dustin Webb Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 05 Aug 2013 11:03:14 PM UTC, comment #8: 

The fix has been reported to work on Linux, so I'm closing this report.

Ben Abbott <bpabbott>
Group Member
Thu 01 Aug 2013 11:36:50 PM UTC, comment #7: 

I've pushed a change that fixes this for me.

http://hg.savannah.gnu.org/hgweb/octave/rev/88616c872933

Ben Abbott <bpabbott>
Group Member
Sun 28 Jul 2013 08:05:20 PM UTC, comment #6: 

I'm modifying the summary to give a clearer description of the problem.  Also, this isn't really an OpenGL issue as it is a missing feature of the fltk toolkit.

Ben Abbott <bpabbott>
Group Member
Tue 23 Jul 2013 03:19:13 PM UTC, comment #5: 

I should also have added that the fact that
subplot() returns an axis handle is not documented.
This is needed in the example below.

Michael Godfrey <godfrey>
Group Member
Tue 23 Jul 2013 03:14:00 PM UTC, comment #4: 

I made a mistake in the comment below.

The following works to deal with subplots,
such as turning grid marks on/off:

gca1 = subplot(1,2,1);
plot(1:20);
gca2 = subplot(1,2,2);
plot(1:40);
grid(gca1, "on");
grid(gca2, "on");

But, the grid button in the figure menu only acts
on the "last" plot.

Also,
1. grid(gca1, "on");
   returns: error: grid: argument must be a string
   if gca1 is not a valid axis handle.

2. hold(gcax,"on"); works, and if gcax is not a valid
   axis handle it returns a better message:
   error: Invalid call to hold.  Correct usage is:

So, for the current devel system and fltk the main
problem is that there is no menu button, or other
means to change "subplot focus".  And, the grid
error message needs fixing.

Michael Godfrey <godfrey>
Group Member
Mon 22 Jul 2013 05:39:22 AM UTC, comment #3: 

In the current devel system I do not see any problem with
zooming in or out on each subplot.

However, I did noticed another defect: turning grid
on/off either with the window menu button or at the
command line only acts on the right hand plot. (or,
the last subplot.)
And, grid() only accepts the string args "on or "off".
The manual says the form grid(HAX, ...) where HAX is an
axis handle is allowed. If this were allowed it might
work in this case.

So, it may make sense to change this report title or open a
new one.

I also tried using set(), but could not make it do what
is needed.

Michael Godfrey <godfrey>
Group Member
Mon 22 Jul 2013 05:27:56 AM UTC, comment #2: 

Correction again. This problem only occurs when using gnuplot.

Anonymous
Mon 22 Jul 2013 03:38:17 AM UTC, comment #1: 

I should have mentioned that this occurs regardless of whether I'm using gnuplot or OpenGL.

Anonymous
Mon 22 Jul 2013 03:35:24 AM UTC, original submission:  

When I create two subplots side-by-side and attempt to zoom in on the left one it disappears. The left one also disappears when I zoom in on the right one. In both scenarios the right plot remains rendered and behaves correctly.

Code to replicate this issue:

x = [10:100];
subplot(1,2,1);
plot(x);
subplot(1,2,2);
plot(x);

Anonymous

 

(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 bpabbott (Posted a comment)
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by None (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-05 bpabbott Item GroupNone Incorrect Result
        StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-08-01 bpabbott StatusNone Ready For Test
        Assigned toNone bpabbott
    2013-07-28 bpabbott CategoryPlotting Plotting with OpenGL
        Release3.6.2 dev
        Operating SystemGNU/Linux Any
        SummaryDisappearing subplot when zooming. "currentaxes" property does not follow the mouse

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code