Public Member Functions | |
| double | px (const double v) const |
| maps a data-space x value to its pixel x coordinate within the panel (degenerate xmin==xmax centers) | |
| double | py (const double v, const double ymin, const double ymax) const |
Public Attributes | |
| double | left |
| double | top |
| double | w |
| double | h |
| panel height | |
| double | xmin |
| double | xmax |
one plot panel: geometry plus the data->pixel mapping. The y mapping takes its range per call so that a panel can carry two independently scaled axes (the over-d plot)
|
inline |
maps a data-space y value to its pixel y coordinate, using the given (possibly panel-external) y range so one panel can carry two independently scaled axes (degenerate ymin==ymax centers)
| double fst4_cli::Svg_Panel::left |
< panel's left edge in SVG user units
| double fst4_cli::Svg_Panel::top |
< panel's top edge
| double fst4_cli::Svg_Panel::w |
< panel width
| double fst4_cli::Svg_Panel::xmax |
data-space x range upper bound
| double fst4_cli::Svg_Panel::xmin |
< data-space x range lower bound