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

Method set_ymax

src/plot.rs:602–605  ·  view source on GitHub ↗

Sets maximum y

(&mut self, ymax: f64)

Source from the content-addressed store, hash-verified

600
601 /// Sets maximum y
602 pub fn set_ymax(&mut self, ymax: f64) -> &mut Self {
603 write!(&mut self.buffer, "plt.gca().set_ylim(top={})\n", ymax).unwrap();
604 self
605 }
606
607 /// Sets minimum z
608 pub fn set_zmin(&mut self, zmin: 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