Sets x-range (i.e. limits)
(&mut self, xmin: f64, xmax: f64)
| 618 | |
| 619 | /// Sets x-range (i.e. limits) |
| 620 | pub fn set_xrange(&mut self, xmin: f64, xmax: f64) -> &mut Self { |
| 621 | write!(&mut self.buffer, "plt.gca().set_xlim([{},{}])\n", xmin, xmax).unwrap(); |
| 622 | self |
| 623 | } |
| 624 | |
| 625 | /// Sets y-range (i.e. limits) |
| 626 | pub fn set_yrange(&mut self, ymin: f64, ymax: f64) -> &mut Self { |
no outgoing calls