public double convertToAttribX(double scx){
  double temp=m_XaxisEnd - m_XaxisStart;
  double temp2=((scx - m_XaxisStart) * (m_maxX - m_minX)) / temp;
  temp2=temp2 + m_minX;
  return temp2;
}

public double convertToAttribX ( double scx ) { double temp = m_XaxisEnd - m_XaxisStart ; double temp2 = ( ( scx - m_XaxisStart ) * ( m_maxX - m_minX ) ) / temp ; temp2 = temp2 + m_minX ; return temp2 ; }
convert a panel x coordinate to a raw x value .
