bugGNU Octave - Bugs: bug #39359, printing plot with legend modifies...

 
 

bug #39359: printing plot with legend modifies position

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Fri 28 Jun 2013 03:15:55 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich 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)

Fri 19 Jul 2013 02:35:54 PM UTC, comment #7:

I'm closing this report. There are additional changes that are needed to clean up legend.m. I hope to get to that in the next few weeks.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 01 Jul 2013 08:47:39 AM UTC, comment #6:

Thanks. I added an unwind_protect block to the test and pushed the changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/fb80e1891cf9

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 01 Jul 2013 08:37:01 AM UTC, comment #5:

Your patch fixes both errors I reported in bug report
#39321 (print(..., '-Ffont')) and
#39327 (shrinking axes)

Stefan Mahr <dac922>
Mon 01 Jul 2013 08:24:28 AM UTC, comment #4:

Updated patch attached (fixed typos in the test and created a hg changeset)

(file #28465)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 01 Jul 2013 07:50:25 AM UTC, comment #3:

Opps. Its not "string" that has a problem/bug, but "interpreter".

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 01 Jul 2013 07:30:51 AM UTC, comment #2:

Stefan,

I found a trivial solution to the shrinking axes. A diff is attached.

This fixes the print problem but the legend box and line spacing no longer adjust to a change in fontsize (or change in string, which was already a bug). If this fixes all other problems you've seen, I'll push it and work on fixing the legend box.

(file #28464)

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 28 Jun 2013 03:26:43 PM UTC, comment #1:

Please try this instead:

Stefan Mahr <dac922>
Fri 28 Jun 2013 03:15:55 PM UTC, original submission:

Repeating the command below (id 7b53de2c7412) results in a shrinking figure axes size.

Its been reported that the problem does not exist prior to 286904321282. However, I'm unable to confirm. I ran these commands;

And encountered a bug with printing.

If I revert further,

Then all works as it should.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28465:  changeset.patch added by bpabbott (1kB - application/octet-stream)
file #28464:  legend.diff added by bpabbott (956B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dac922 (Posted a comment)
  • -unavailable- added by bpabbott (Submitted the item)
  • -unavailable- added by bpabbott (Stefan, I've started a new bug report. Please add your comments here)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 20 Jul 2013 02:22:32 PM UTCbpabbottOpen/ClosedOpen=>Closed
    Fri 19 Jul 2013 02:35:54 PM UTCbpabbottStatusReady For Test=>Fixed
    Mon 01 Jul 2013 08:48:01 AM UTCbpabbottStatusNone=>Ready For Test
    Mon 01 Jul 2013 08:24:28 AM UTCbpabbottAttached File-=>Added changeset.patch, #28465
    Mon 01 Jul 2013 07:30:51 AM UTCbpabbottAttached File-=>Added legend.diff, #28464
    Fri 28 Jun 2013 03:15:55 PM UTCbpabbottCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup