PX returns the X-axis plotting coordinate for given raw data value using the current plot bounding region
(v float32)
| 209 | // PX returns the X-axis plotting coordinate for given raw data value |
| 210 | // using the current plot bounding region |
| 211 | func (pt *Plot) PX(v float32) float32 { |
| 212 | return pt.PlotBox.ProjectX(pt.X.Norm(v)) |
| 213 | } |
| 214 | |
| 215 | // PY returns the Y-axis plotting coordinate for given raw data value |
| 216 | func (pt *Plot) PY(v float32) float32 { |