imply call the plot method on</span>
<span class="comment">% the score object stored in Pca result</span>
figure;
scatterGroup(irisPca.scores(:, 1), irisPca.scores(:, 2), tab(<span class="string">'Species'</span>), <span class="keyword">...</span>
    <span class="string">'LegendLocation'</span>, <span class="string">'NorthWest'</span>);
</pre><pre class="codeoutput">Principal Component Analysis Result
   Input data: fisherIris
       scaled: true
        means: &lt;1x4 double&gt;
       scores: &lt;150x4 T