PY returns the Y-axis plotting coordinate for given raw data value
(v float32)
| 214 | |
| 215 | // PY returns the Y-axis plotting coordinate for given raw data value |
| 216 | func (pt *Plot) PY(v float32) float32 { |
| 217 | return pt.PlotBox.ProjectY(1 - pt.Y.Norm(v)) |
| 218 | } |
| 219 | |
| 220 | // ClosestDataToPixel returns the Plotter data point closest to given pixel point, |
| 221 | // in the Pixels image. |