octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44181] Tesselation lines visible in plot outp


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44181] Tesselation lines visible in plot output of patches
Date: Sat, 28 Mar 2015 12:05:59 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

Follow-up Comment #3, bug #44181 (project octave):

If you generate an svg instead of a pdf you will be able to edit the
coordinates of the triangle vertices: as expected the vertices of common edges
have the exact same coordinates. 


close all
x= [0 1 1 0];
y= [0 0 1 1];
patch (x,y,'r')
print toto.svg


The relevant part of the svg is:


<polygon fill="#ff0000" points="521.28,32.4 74.88,384.48 74.88,32.4"/>
<polygon fill="#ff0000" points="74.88,384.48 521.28,32.4 521.28,384.48"/>


It looks like the tessellation line that we see is a "visual hint", drawn by
the viewer, that indicates that there are 2 polygons.

So I am under the impression that unless there is a flag, defined in
pdf/ps/svg specifications, that instructs the viewer/printer that it should
not draw this "visual hint" I don't think octave/gl2ps can do anything about
this: opengl/gl2ps will always tessellate polygons into triangles.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44181>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]