pub struct Quiver3 {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub z: Vec<f64>,
pub vx: Vec<f64>,
pub vy: Vec<f64>,
pub vz: Vec<f64>,
pub opts: Vec<Opt>,
}Expand description
A 3D vector field plot.
ax.quiver({x}, {y}, {z}, {vx}, {vy}, {vz}, **{ops})Prelude: No
JSON data: [list[float], list[float], list[float], list[float], list[float], list[float]]
Fields§
§x: Vec<f64>X-coordinates.
y: Vec<f64>Y-coordinates.
z: Vec<f64>Z-coordinates.
vx: Vec<f64>Vector X-components.
vy: Vec<f64>Vector Y-components.
vz: Vec<f64>Vector Z-components.
opts: Vec<Opt>Optional keyword arguments.
Implementations§
Source§impl Quiver3
impl Quiver3
Sourcepub fn new<X, Y, Z, VX, VY, VZ>(
x: X,
y: Y,
z: Z,
vx: VX,
vy: VY,
vz: VZ,
) -> Selfwhere
X: IntoIterator<Item = f64>,
Y: IntoIterator<Item = f64>,
Z: IntoIterator<Item = f64>,
VX: IntoIterator<Item = f64>,
VY: IntoIterator<Item = f64>,
VZ: IntoIterator<Item = f64>,
pub fn new<X, Y, Z, VX, VY, VZ>(
x: X,
y: Y,
z: Z,
vx: VX,
vy: VY,
vz: VZ,
) -> Selfwhere
X: IntoIterator<Item = f64>,
Y: IntoIterator<Item = f64>,
Z: IntoIterator<Item = f64>,
VX: IntoIterator<Item = f64>,
VY: IntoIterator<Item = f64>,
VZ: IntoIterator<Item = f64>,
Create a new Quiver3 with no options.
Sourcepub fn new_triples<I, VI>(xyz: I, vxyz: VI) -> Self
pub fn new_triples<I, VI>(xyz: I, vxyz: VI) -> Self
Create a new Quiver3 with no options from iterators over coordinate
triples.
Trait Implementations§
Source§impl Matplotlib for Quiver3
impl Matplotlib for Quiver3
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true if self should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for Quiver3
impl MatplotlibOpts for Quiver3
impl StructuralPartialEq for Quiver3
Auto Trait Implementations§
impl Freeze for Quiver3
impl RefUnwindSafe for Quiver3
impl Send for Quiver3
impl Sync for Quiver3
impl Unpin for Quiver3
impl UnwindSafe for Quiver3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more