<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>CompClust - PCA Projection Plot</title>
  <link rel="stylesheet" href="/compclust_css" type="text/css"
  	tal:attributes="href compclust_css" />
</head>
<body>
<span id="compclustMenu" tal:replace="structure menu"/>
<div id="compclustBody">
<h1><a href="#instructions">PCA Projection Plot</a></h1>
<form action="pca_projection" method="get">
  <p>
  <label for="xaxis">X-axis component </label> 
  <select name="xaxis" id="xaxis">
    <option tal:repeat="axis xaxes" tal:content="axis/0"
            tal:attributes="selected axis/1">None</option>
  </select>
  <label for="yaxis"> Y-axis component </label> 
  <select name="yaxis" id="yaxis">
    <option tal:repeat="axis yaxes" tal:content="axis/0"
            tal:attributes="selected axis/1">None</option>
  </select>
  <input type="submit"/>
  </p>
</form>
<div id="compclustPlot" tal:condition="pcaplot">
  <a href="" tal:condition="pcaplot" 
     tal:attributes="href downloadploturl">download</a>
  <hr/>
  <map name="graph" id="graph" tal:replace="structure csimap"></map>
  <img tal:attributes="src pcaplot" src="" usemap="#graph" alt="pca plot"/>
</div>
<hr/>
<h1><a name="instructions">Instructions</a></h1>
<p>
This is a projection of the data space after being rotated into its
eigen (basis) vectors
</p>
<p>
You can use the drop down boxes to select which components to view,
and the long fractional number represents what percent of the varience
is captured by that component.
</p>
<p>
Clicking on one of the data points will bring up a detail plot of that
vector.
</p>
</div>
</body>
</html>
