Sets axes limits
(&mut self, xmin: f64, xmax: f64, ymin: f64, ymax: f64)
| 565 | |
| 566 | /// Sets axes limits |
| 567 | pub fn set_range(&mut self, xmin: f64, xmax: f64, ymin: f64, ymax: f64) -> &mut Self { |
| 568 | write!(&mut self.buffer, "plt.axis([{},{},{},{}])\n", xmin, xmax, ymin, ymax).unwrap(); |
| 569 | self |
| 570 | } |
| 571 | |
| 572 | /// Sets axes limits from vector |
| 573 | pub fn set_range_from_vec(&mut self, limits: &[f64]) -> &mut Self { |
no outgoing calls