Struct matplotlib::commands::Quiver
source · pub struct Quiver {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub vx: Vec<f64>,
pub vy: Vec<f64>,
pub opts: Vec<Opt>,
}Expand description
A vector field plot.
ax.quiver({x}, {y}, {vx}, {vy}, **{ops})
Prelude: No
JSON data: [list[float], list[float], list[float], list[float]]
Fields§
§x: Vec<f64>X-coordinates.
y: Vec<f64>Y-coordinates.
vx: Vec<f64>Vector X-components.
vy: Vec<f64>Vector Y-components.
opts: Vec<Opt>Optional keyword arguments.
Implementations§
source§impl Quiver
impl Quiver
sourcepub fn new<X, Y, VX, VY>(x: X, y: Y, vx: VX, vy: VY) -> Selfwhere
X: IntoIterator<Item = f64>,
Y: IntoIterator<Item = f64>,
VX: IntoIterator<Item = f64>,
VY: IntoIterator<Item = f64>,
pub fn new<X, Y, VX, VY>(x: X, y: Y, vx: VX, vy: VY) -> Selfwhere
X: IntoIterator<Item = f64>,
Y: IntoIterator<Item = f64>,
VX: IntoIterator<Item = f64>,
VY: IntoIterator<Item = f64>,
Create a new Quiver with no options.
Trait Implementations§
source§impl Matplotlib for Quiver
impl Matplotlib for Quiver
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 Quiver
impl MatplotlibOpts for Quiver
impl StructuralPartialEq for Quiver
Auto Trait Implementations§
impl Freeze for Quiver
impl RefUnwindSafe for Quiver
impl Send for Quiver
impl Sync for Quiver
impl Unpin for Quiver
impl UnwindSafe for Quiver
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)