Expand description
‘graplot’ is an experimental plotting library written in Rust that is based on [macroquad]. It creates a window displaying the graphs.
§Example
use graplot::Plot;
let plot = Plot::new(|x: f64| x.powf(2.));
plot.show();
Re-exports§
pub use graph::Graph;
Modules§
Structs§
- Axis
Desc - Bar
- BarDesc
- Color
- Desc
- Line
Desc - Pie
- PieSegment
- Plot
- Plot3D
- Polynomial
- Use the Polynomial struct or polynomial() function to create a polynomial function that runs through all given points.
- Scatter
- XEnd
- YEnd
Enums§
Constants§
- BEIGE
- BLACK
- BLANK
- BLUE
- BROWN
- DARKBLUE
- DARKBROWN
- DARKGRAY
- DARKGREEN
- DARKPURPLE
- FONT_
SIZE - GOLD
- GRAY
- GREEN
- LIGHTGRAY
- LIME
- MAGENTA
- MAROON
- ORANGE
- PINK
- PURPLE
- RED
- SKYBLUE
- VIOLET
- WHITE
- YELLOW
Traits§
Functions§
- count_
inv_ tens - count_
tens - divs
- get_
font_ size_ x - get_
font_ size_ y - get_
steps - max
- max_
display - max_
matrix - min
- min_
matrix - negative
- polynomial
- solve_
lu - sub
- x
- sets the absolute max value for x