MCPcopy Create free account
hub / github.com/cpmech/plotpy / set_xmax

Method set_xmax

src/plot.rs:590–593  ·  view source on GitHub ↗

Sets maximum x

(&mut self, xmax: f64)

Source from the content-addressed store, hash-verified

588
589 /// Sets maximum x
590 pub fn set_xmax(&mut self, xmax: f64) -> &mut Self {
591 write!(&mut self.buffer, "plt.gca().set_xlim(right={})\n", xmax).unwrap();
592 self
593 }
594
595 /// Sets minimum y
596 pub fn set_ymin(&mut self, ymin: f64) -> &mut Self {

Callers 3

set_functions_workFunction · 0.80
test_plotFunction · 0.80
test_plot_3dFunction · 0.80

Calls

no outgoing calls

Tested by 3

set_functions_workFunction · 0.64
test_plotFunction · 0.64
test_plot_3dFunction · 0.64