<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Dear all,<br><br></div>I try to create some svg-files using xs2svg.<br><br></div>In the plot I use xfpoly to draw regions of interest in different colours.<br><br></div><div dir="ltr"><div><pre style="font-family:Monospaced;font-style:normal"><span style="color:rgb(100,174,100);font-style:italic">// plot the ROI 1</span>
<span style="color:rgb(50,185,185)">xfpoly</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">roi1_X</span><span style="color:rgb(0,0,0)">, roi1_Y </span><span style="color:rgb(0,0,0)"></span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(0,0,0)">color_roi1</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">=</span><span style="color:rgb(0,0,0)">gce</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">.</span><span style="color:rgb(170,170,170)">foreground</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(0,0,0)">color_roi1</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">.</span><span style="color:rgb(170,170,170)">line_mode</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">off</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(0,0,0)">;</span><br><span style="color:rgb(50,185,185)"></span></pre></div><div><pre style="font-family:Monospaced;font-style:normal"><span style="color:rgb(100,174,100);font-style:italic">// plot the ROI 2</span>
<span style="color:rgb(50,185,185)">xfpoly</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(0,0,0)">roi2_X</span><span style="color:rgb(0,0,0)">, roi2_Y </span><span style="color:rgb(0,0,0)"></span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(0,0,0)">color_roi2</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">=</span><span style="color:rgb(0,0,0)">gce</span><span style="color:rgb(74,85,219)">(</span><span style="color:rgb(74,85,219)">)</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">.</span><span style="color:rgb(170,170,170)">foreground</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(0,0,0)">color_roi2</span><span style="color:rgb(0,0,0)">;</span>
<span style="color:rgb(0,0,0)">e</span><span style="color:rgb(92,92,92)">.</span><span style="color:rgb(170,170,170)">line_mode</span> <span style="color:rgb(92,92,92)">=</span> <span style="color:rgb(188,143,143)">"</span><span style="color:rgb(188,143,143)">off</span><span style="color:rgb(188,143,143)">"</span><span style="color:rgb(0,0,0)">;</span></pre></div><div><br></div>The code itself is running, and the plot in Scilab looks as expected...even when I zoom into the graph it's all nice.<br><br></div><div>However:<br></div><div>When I export the plot with xs2svg some thin black lines appear within the regions.<br></div><div>This can be seen when I open the svg with inkscape.<br><br></div><div>Yes: I could use xs2png, but I'ld prefer xs2svg.<br><br></div><div>Any idea how to avoid these black lines..see example below?<br><br></div><div>Thank you,<br></div><div>Philipp<br></div><div><br><br></div><div><br><div><img src="cid:ii_jsozvpv00" alt="grafik.png" style="margin-right: 0px;" height="117" width="186"><br></div><div>example of xs2svg export<br></div><div><br><div><img src="cid:ii_jsozw5b21" alt="grafik.png" style="margin-right: 0px;" height="152" width="186"><br>example of xs2png export</div></div><br><br></div></div></div></div></div>