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

Method set_zmax

src/plot.rs:614–617  ·  view source on GitHub ↗

Sets maximum z

(&mut self, zmax: f64)

Source from the content-addressed store, hash-verified

612
613 /// Sets maximum z
614 pub fn set_zmax(&mut self, zmax: f64) -> &mut Self {
615 write!(&mut self.buffer, "plt.gca().set_zlim(zmax={})\n", zmax).unwrap();
616 self
617 }
618
619 /// Sets x-range (i.e. limits)
620 pub fn set_xrange(&mut self, xmin: f64, xmax: f64) -> &mut Self {

Callers 2

set_functions_workFunction · 0.80
test_plot_3dFunction · 0.80

Calls

no outgoing calls

Tested by 2

set_functions_workFunction · 0.64
test_plot_3dFunction · 0.64