2. Concepts
Last updated
use ezel::prelude::*;
use polars::prelude::*;
let mut x = vec![..];
let mut y = vec![..];
let df = df!(
"x" => &x,
"y" => &y
)
.unwrap();
let mut plot = Cartesian2::default();
plot.scatter(df, Column("x".to_string()), Column("y".to_string()));let x: Vec<f64>;
let y: Vec<f64>;
ezel::quick::scatter_xy(x, y); // Cartesian2 + x + y
let mut plot = Cartesian2::default();
plot.scatter_xy(x, y); // two Vec<f64>marker_size: ConstOrScalar<f64>, // const or scalar
marker_shape: ConstOrCategorical<MarkerShape>, // const or categorical
marker_color: ConstOrColumn<Color>, // const or categorical or scalar