Set the x-axis scale mode. This does not modify tick producer/formatter settings.
(&mut self, scale: AxisScale)
| 285 | } |
| 286 | |
| 287 | /// Set the x-axis limits (min, max) for the plot. |
| 288 | /// |
| 289 | /// If set, these will override autoscaling for the x-axis. |
| 290 | pub fn set_x_lim(&mut self, min: f64, max: f64) { |
| 291 | self.x_lim = Some((min, max)); |
| 292 | } |
| 293 |