bugGNU Octave - Bugs: bug #49735, scatter filled wont print...

 
 

bug #49735: scatter filled wont print corrrectly

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Tue 29 Nov 2016 02:20:14 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  jpi Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Nov 2016 07:41:40 PM UTC, comment #3: 

Yes, the defaults workaround works!
Thank you.

Juan Pablo Carbajal <juanpi>
Group Member
Tue 29 Nov 2016 04:09:00 PM UTC, comment #2: 

Oh and I tested with Octave 4.0.2 with gl2ps 1.3.8 installed and this did not work either. Actually it was even worse since the scatter markers were horribly huge.

Pantxo Diribarne <pantxo>
Group Member
Tue 29 Nov 2016 03:56:08 PM UTC, comment #1: 

This bug has been fixed in the latest version of gl2ps (1.3.9). You can workaround it by manually setting the axes background to be transparent:


set (0, "defaultfigureinverthardcopy", "off")
set (0, "defaultaxescolor", "none")


Does this workarounds work?
I'll close this report as fixed upstream.

Pantxo Diribarne <pantxo>
Group Member
Tue 29 Nov 2016 02:20:14 PM UTC, original submission:  

The following code produces the attached image.
The option "filled" adds a white background that covers other plots in the same axes. Can be seen on screen, but when printing it breaks.
This happens with the "qt" and "fltk" graphic toolkits, but not with "gnuplot". I couldn't find a work around.


x = rand (10,1);
y = rand (10,1);
c = rand (10,3);

subplot(1,2,1)
plot(x,y,'-k');
hold on
scatter (x,y,80,c);
hold off
subplot(1,2,2)
plot(x,y,'-k');
hold on
scatter (x,y,80,c, "filled");
hold off

print -dpng print_bug.png


This was not the case with octave 4.0.3+ and before. although it might be related to the external tools used to print the plots. not sure.


Juan Pablo Carbajal <juanpi>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #39098:  print_bug.png added by juanpi (22KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-29 pantxo Open/ClosedOpen Closed
    2016-11-29 pantxo StatusNone Fixed
    2016-11-29 juanpi Attached File- Added print_bug.png, #39098

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code