Thu 28 Feb 2013 01:48:46 AM UTC, comment #2:
Alas, I'm not certain this isn't an Octave bug with the printing of 'image' data to svg. I used rectangle() to create 4 differently-colored boxes on an ordinary plot background. When I print this the svg is correct. I'm attaching that file as svg_rect_tst.m
Secondly, the white polygons are present at the beginning of every svg file. They represent the axis background. You can verify this with
Now I get the following in the svg file.
(file #27540)
|
Sun 18 Nov 2012 02:22:12 AM UTC, comment #1:
I looked at the content of the svg-file, and found that the four rectangles are being drawn as white.
This appears to be a bug or missing feature in gl2ps. The files where the bug is likely to be found are libinterp/interp-core/gl2ps.c and/or libinterp/interp-core/gl2ps.h. When I have time, I hope to take a look. In the event someeone gets to this before me, the bug is found the change should be made upstream at the link below.
http://geuz.org/gl2ps/
|