[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37753] print image-plot to svg not working
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #37753] print image-plot to svg not working |
Date: |
Thu, 28 Feb 2013 01:48:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 |
Follow-up Comment #2, bug #37753 (project octave):
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
set (gca, "color", [0.5 0.5 0.5]);
print foo.svg
Now I get the following in the svg file.
<polygon fill="#7f7f7f" points="521.28,384.48 521.28,32.4 521.28,384.48"/>
<polygon fill="#7f7f7f" points="521.28,32.4 521.28,32.4 521.28,384.48"/>
<polygon fill="#7f7f7f" points="74.88,32.4 521.28,32.4 74.88,32.4"/>
<polygon fill="#7f7f7f" points="521.28,32.4 521.28,32.4 74.88,32.4"/>
<polygon fill="#7f7f7f" points="74.88,384.48 521.28,384.48 74.88,32.4"/>
<polygon fill="#7f7f7f" points="521.28,384.48 521.28,32.4 74.88,32.4"/>
(file #27540)
_______________________________________________________
Additional Item Attachment:
File name: svg_rect_tst.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37753>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #37753] print image-plot to svg not working,
Rik <=