bugGNU Octave - Bugs: bug #30532, labels overlap tics when fontsize...

 
 

bug #30532: labels overlap tics when fontsize specified in print -F and set(gca(), 'fontsize') differ

Submitted by:  Yu Feng <rainwoodman>
Submitted on:  Fri 23 Jul 2010 10:42:50 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Open/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 27 Aug 2010 11:32:38 AM UTC, comment #5:

I've pushed the changeset below.

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

This problem is no longer present.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 21 Aug 2010 12:49:41 AM UTC, comment #4:

This remains a work in progress. Gnuplot printing is a real mess (one I'm a significant contributor to).

I hope to have the time to clean it up before Sept.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 20 Aug 2010 10:05:17 PM UTC, comment #3:

Ben, has the changeset for this issue been pushed? Can this issue be closed?

Rik <rik5>
Project Administrator
Tue 27 Jul 2010 04:08:51 PM UTC, comment #2:

I expect the push a changeset to unify the backend printing in the next day or two. A solution to this problem is included.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Sat 24 Jul 2010 03:13:55 AM UTC, comment #1:

As we are currently unifying the print() command for the backends we should be able to handle this problem.

What I thinking is that we change the fontsize properties for the graphics objects, output the image, and then change the fontsize back. Both gl2ps and gnuplot should render a reasonable result.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 23 Jul 2010 10:42:50 PM UTC, original submission:

clf
fplot(@sin, [0, 10]);
xlabel("my x label", 'fontsize', 20);
ylabel("-----my y label------", 'fontsize', 20);
set(gca(), 'fontsize', 20)
print -F:8 -deps test.eps

In the resulting eps file, the axes labels and the tics are overlapping. (test-print-8.eps)

however, with
print -F:20 -deps -tight test.eps
, the labels and tics are no longer overlapping. (test-print-20.eps)

Yu Feng <rainwoodman>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21042:  test-print-8.eps added by rainwoodman (72KiB - image/x-eps)
file #21043:  test-print-20.eps added by rainwoodman (72KiB - image/x-eps)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by rainwoodman (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 27 Aug 2010 11:32:38 AM UTCbpabbottStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 27 Jul 2010 04:08:51 PM UTCbpabbottAssigned toNone=>bpabbott
    Fri 23 Jul 2010 10:42:50 PM UTCrainwoodmanAttached File-=>Added test-print-8.eps, #21042
      Attached File-=>Added test-print-20.eps, #21043

    Back to the top


    Powered by Savane 3.1-cleanup1