Hi,<br><br>Scilab (5.4.0) allows for exporting figures to vectorial and bitmat formats as, for example, PDF and PNG. <br>Sometimes I hide portions of a picture using a white rectangle. This brings no problem for bitmap formats. Vectorial formats are different.<br>
<br>The following code draws a white rectangle over an empty box in Scilab 5.4.0. I converted it to PNG and PDF (attachments) formats. A comparison between them shows that in the PDF file the white rectangle is over the surrounding box while the PNG doesn't show it. <br>
<br>What can be done to have PDF and PNG files looking equally ?<br><br>Scilab code:<br><br>xfpolys([0;[0:18]';18],[0;ones(19,1);0],-8)<br>plot2d(0,0,1,"012"," ",[0,0,21,2])<br><br>PS: For a visible rectangle, change the xfpolys command to,<br>
<br>xfpolys([0;[0:18]';18],[0;ones(19,1);0],-1)<br>