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

Method set_subplot_grid

src/plot.rs:393–401  ·  view source on GitHub ↗

Sets a subplot configured via GridSpec See function [Plot::set_gridspec] # Input `grid_handle` -- an identifier for GridSpec defined by [Plot::set_gridspec] `i_range` -- the **zero-based** row index or range such as "0" or "0:2" `j_range` -- the **zero-based** column index or range such as "0" or "0:2"

(&mut self, grid_handle: &str, i_range: &str, j_range: &str)

Source from the content-addressed store, hash-verified

391 /// * `i_range` -- the **zero-based** row index or range such as "0" or "0:2"
392 /// * `j_range` -- the **zero-based** column index or range such as "0" or "0:2"
393 pub fn set_subplot_grid(&mut self, grid_handle: &str, i_range: &str, j_range: &str) -> &mut Self {
394 write!(
395 &mut self.buffer,
396 "\nplt.subplot(grid_{}[{},{}])\n",
397 grid_handle, i_range, j_range
398 )
399 .unwrap();
400 self
401 }
402
403 /// Sets the rotation of ticks along the x-axis
404 pub fn set_rotation_ticks_x(&mut self, rotation: f64) -> &mut Self {

Callers 3

gridspec_functions_workFunction · 0.80
test_gridspec_1Function · 0.80

Calls

no outgoing calls

Tested by 3

gridspec_functions_workFunction · 0.64
test_gridspec_1Function · 0.64