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 Jun 28 15:15:55 2013  
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 Jul 19 14:35:54 2013, 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 Jul 1 08:47:39 2013, comment #6:

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


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

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

Stefan Mahr <dac922>
Mon Jul 1 08:24:28 2013, 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 Jul 1 07:50:25 2013, comment #3:

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

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


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 Jun 28 15:26:43 2013, comment #1:

Please try this instead:

Stefan Mahr <dac922>
Fri Jun 28 15:15:55 2013, 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):

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 Jul 20 14:22:32 2013bpabbottOpen/ClosedOpen=>Closed
    Fri Jul 19 14:35:54 2013bpabbottStatusReady For Test=>Fixed
    Mon Jul 1 08:48:01 2013bpabbottStatusNone=>Ready For Test
    Mon Jul 1 08:24:28 2013bpabbottAttached File-=>Added changeset.patch, #28465
    Mon Jul 1 07:30:51 2013bpabbottAttached File-=>Added legend.diff, #28464
    Fri Jun 28 15:15:55 2013bpabbottCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1