(<span class="string">'fisheriris'</span>);
data = str.meas;

<span class="comment">% create point array</span>
pts = data(:, [3 1]);

<span class="comment">% display</span>
figure; axis <span class="string">equal</span>; hold <span class="string">on</span>; axis([0 8 3 9]);
drawPoint(pts, <span class="string">'bx'</span>);
</pre><img vspace="5" hspace="5" src="demo_geom2d_iris_01.png" alt=""> <h2 id="3">Fit line</h2><pre class="codeinput">line = fitLine(pts);
drawLine(line, <span class="string">'color'</sp