Hi
I am using Version 8.2.0.20120410. Here comes the code:
X = [1,3,5,6,4,1,1]
Y = [2,1,4,6,7,5,2]
plot = PLOT(X,Y,/NODATA)
Poly = POLYGON(X,Y, FILL_COLOR='Tan',/Data)
poly.Save, 'polygon.eps'
Looking at the eps, one can see the triangles with the common point [1,2]. As I understand the code from "\lib\itools\ipolygon.pro" at line 137 right:
oPolygon->SetProperty, _DATA=points, /TESSELLATE, _EXTRA=_extra
there's some implicit tesselation going on. But i cant prevent IDL from doing it ...
Cheers
|