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

Method set_label_x

src/plot.rs:911–914  ·  view source on GitHub ↗

Sets the label for the x-axis

(&mut self, label: &str)

Source from the content-addressed store, hash-verified

909
910 /// Sets the label for the x-axis
911 pub fn set_label_x(&mut self, label: &str) -> &mut Self {
912 write!(&mut self.buffer, "plt.gca().set_xlabel(r'{}')\n", label).unwrap();
913 self
914 }
915
916 /// Sets the label for the y-axis
917 pub fn set_label_y(&mut self, label: &str) -> &mut Self {

Callers 9

set_functions_workFunction · 0.80
test_barplot_3Function · 0.80
test_barplot_4Function · 0.80
test_subplot_3dFunction · 0.80
test_plotFunction · 0.80
test_plot_3dFunction · 0.80

Calls

no outgoing calls

Tested by 9

set_functions_workFunction · 0.64
test_barplot_3Function · 0.64
test_barplot_4Function · 0.64
test_subplot_3dFunction · 0.64
test_plotFunction · 0.64
test_plot_3dFunction · 0.64