* @param axe The <b>AxisShape</b>
* @param x1 A mouse position in plot hsape.
* @return computed axis coordinate
*/
public Double getAxeValue(int axeIndex, int x){
AxisShape axe=null;
switch (axeIndex){
case Plot.PX: axe = _asx1; break;
case Plot.SX: axe = _asx2; break;
case Plot.PY: axe = _asy1; break;
case Plot.SY: axe = _asy2; break;
}
Double ret=null;
if (axe!=null){
if (axe!=null){
double anchor = axe.isVertical()? _oy : _ox;
double value = axe.getMin() + (x - anchor) / axe.getScale();
if (axe.isLog()) {
value = Math.pow(10, Math.floor(value));
}
ret = new Double(value);
}
}