bugGNU Octave - Bugs: bug #39459, colorbar modifies position/axes...

 
 

bug #39459: colorbar modifies position/axes size of next surface plot

Submitted by:  Stefan Mahr <dac922>
Submitted on:  Wed 10 Jul 2013 01:42:41 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Open/Closed: Closed
Release: devOperating 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 Jump to the original submission)

Sat 20 Jul 2013 02:21:46 PM UTC, comment #6:

Great!

I'll change the status to "fixed" and close the report.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 20 Jul 2013 10:02:24 AM UTC, comment #5:

Yes, the example below and the plot within my application are working now.

Stefan Mahr <dac922>
Fri 19 Jul 2013 02:40:17 PM UTC, comment #4:

Stefan,

With the changeset below,

http://hg.savannah.gnu.org/hgweb/octave/rev/350cad34b0f8

Your example is now working for me. Can you confirm?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 12 Jul 2013 11:32:43 AM UTC, comment #3:

Thanks. The reason I missed the problem the first time around was I didn't notice that the xdata and ydata had different lengths. That is actually necessary the reveal the bug. So the following works.

The your example fails. Notice that the second surf() also impacts the result. If the xdata and ydata are the same size the distortion is even worse.

It is the position property that is being set incorrectly.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 12 Jul 2013 08:22:09 AM UTC, comment #2:

Please see attached screenshots.

(file #28553, file #28554)

Stefan Mahr <dac922>
Fri 12 Jul 2013 12:52:12 AM UTC, comment #1:

Stefan,

The example you provided works correctly for me. Perhaps, I'm missing something? Can you describe the problem you are seeing?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Wed 10 Jul 2013 01:42:41 PM UTC, original submission:

Affects gnuplot and fltk frontend.

Stefan Mahr <dac922>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28554:  second_surf.png added by dac922 (16KiB - image/png)

 

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 dac922 (Submitted the item)
  • -unavailable- added by dac922
  •  

    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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Jul 2013 02:21:46 PM UTCbpabbottStatusReady For Test=>Fixed
      Assigned toNone=>bpabbott
      Open/ClosedOpen=>Closed
    Fri 19 Jul 2013 02:40:17 PM UTCbpabbottItem GroupNone=>Incorrect Result
      StatusConfirmed=>Ready For Test
    Fri 19 Jul 2013 02:37:35 PM UTCbpabbottStatusWorks For Me=>Confirmed
    Fri 12 Jul 2013 08:22:09 AM UTCdac922Attached File-=>Added first_surf_and_colorbar.png, #28553
      Attached File-=>Added second_surf.png, #28554
    Fri 12 Jul 2013 12:52:12 AM UTCbpabbottStatusNone=>Works For Me
    Wed 10 Jul 2013 01:42:41 PM UTCdac922Carbon-Copy-=>Added bpabbott

    Back to the top


    Powered by Savane 3.1-cleanup1