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

 
 

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

Submitted by:  None
Submitted on:  Mon 22 Jul 2013 03:35:24 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Dustin WebbOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating 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)

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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
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>
Project 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>
Project 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>
Project 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 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 bpabbott (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by None (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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 05 Aug 2013 11:03:14 PM UTCbpabbottItem GroupNone=>Incorrect Result
      StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 01 Aug 2013 11:36:50 PM UTCbpabbottStatusNone=>Ready For Test
      Assigned toNone=>bpabbott
    Sun 28 Jul 2013 08:05:20 PM UTCbpabbottCategoryPlotting=>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.1-cleanup1