bugGNU Octave - Bugs: bug #37883, print()ed plot incorrect and...

 
 

bug #37883: print()ed plot incorrect and different from plot on screen

Submitted by:  None
Submitted on:  Fri 07 Dec 2012 05:15:21 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: KlausOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.0
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 09 Dec 2012 09:01:52 PM UTC, comment #2:

It is possible the fix can be merged into the stable branch, but so far, I haven't been able to locate the changeset responsible. I tested the changeset below, but it is not sufficient.

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

Ben Abbott <bpabbott>
Project Member
Sun 09 Dec 2012 06:20:13 PM UTC, comment #1:

I see you are using the FLTK backend. I checked the developer's sources for the stable and default branches. The stable branch still has this problem, but it is not present in the default branch.

Thus, it appears this has been fixed (but I don't know which changeset fixes it. In any event, I've attached the result for the default branch.

(file #27060)

Ben Abbott <bpabbott>
Project Member
Fri 07 Dec 2012 05:15:21 PM UTC, original submission:

When I print a contour plot, the resulting files contain incorrect plots (MatLab does it correctly). Additionally, black lines are correctly removed on the screen but not in the printed files.

Example:
R = [2.6322 1.9678 5.5433 5.0786 5.0764
1.3511 1.8780 1.4909 2.2747 1.7128
1.4455 1.8989 1.5001 1.3315 1.1865];
t_day = [735034.404861 735056.436806 735146.567639];
dist = [0.75832 5.31773 10.13059 14.99748 19.83946];
[xx, yy] = meshgrid(dist, t_day);
datetick('y', 'dd/mm/yyyy');
contourf(xx, yy, R, 30, '+');
colorbar();
print('test.pdf');

Results on screen and pdf file attached.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27060:  test-3.7.0+.pdf added by bpabbott (5KiB - application/pdf)
file #27053:  plot_screen.png added by None (11KiB - image/png)
file #27054:  test.pdf added by None (5KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by bpabbott (Updated the item)
  • -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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Mar 2013 04:41:48 AM UTCrik5Open/ClosedOpen=>Closed
    Sun 09 Dec 2012 06:20:13 PM UTCbpabbottAttached File-=>Added test-3.7.0+.pdf, #27060
      StatusNone=>Fixed
      Operating SystemMicrosoft Windows=>Any
    Fri 07 Dec 2012 05:15:21 PM UTCNoneAttached File-=>Added plot_screen.png, #27053
      Attached File-=>Added test.pdf, #27054

    Back to the top


    Powered by Savane 3.1-cleanup1