MCPcopy Create free account

hub / github.com/elftausend/graplot / functions

Functions146 in github.com/elftausend/graplot

↓ 56 callersMethodshow
(self)
src/graph.rs:109
↓ 21 callersMethodadd_node
(&mut self, deps: Vec<usize>)
src/graph.rs:66
↓ 15 callersFunctioncount_inv_tens
(mut num: f64)
src/eval.rs:34
↓ 15 callersFunctionx
sets the absolute max value for x
src/lib.rs:46
↓ 12 callersMethodadd
(&mut self, bar: A, y: f64)
src/plots/bar.rs:54
↓ 10 callersMethodset_title
(&mut self, title: &str)
src/plots/pie.rs:35
↓ 8 callersFunctiondraw_line_with_text
(y: f32, val: T, y_half_font: f32, y_font_size: f32)
src/render/bar.rs:27
↓ 7 callersMethodset_ylabel
(&mut self, label: &str)
src/plots/bar.rs:37
↓ 6 callersMethodas_single_bar_desc
(&self)
src/plots/bar.rs:143
↓ 6 callersFunctionmax_display
(max: f64, other_scaling: bool)
src/eval.rs:105
↓ 6 callersFunctionrun
(pie: Pie)
src/render/pie.rs:6
↓ 5 callersFunctionmax_matrix
(mat: &Matrix)
src/eval.rs:159
↓ 5 callersMethodset_desc
(&mut self, desc: Desc)
src/plots/plot.rs:22
↓ 4 callersMethodas_plot
(&self)
src/plots/plot.rs:118
↓ 4 callersFunctionaxis_desc_x
(val: T, x: f32, x_half_font: f32, x_font_size: f32, half_height: f32)
src/render/plot.rs:302
↓ 4 callersFunctionaxis_desc_y
(val: T, y: f32, half_width: f32, y_half_font: f32, y_font_size: f32)
src/render/plot.rs:288
↓ 4 callersFunctioncount_tens
(mut num: f64)
src/eval.rs:24
↓ 3 callersMethodas_bar_desc
(&self)
src/plots/bar.rs:114
↓ 3 callersFunctiondivs
(lhs: &[f64], rhs: f64)
src/eval.rs:43
↓ 3 callersFunctiondraw_bars
(x_level: f32, ys: &[f64], bar: &Bar)
src/render/bar.rs:41
↓ 3 callersFunctionget_steps
(max: f64, mut min_steps: f64)
src/eval.rs:80
↓ 2 callersMethodas_plot
(&self)
src/polynomial.rs:39
↓ 2 callersMethodas_plot
(&self)
src/plots/plot3d.rs:42
↓ 2 callersFunctionget_font_size_y
(max: f64)
src/eval.rs:66
↓ 2 callersFunctionpolynomial
(xs: &[f64], ys: &[f64])
src/polynomial.rs:23
↓ 2 callersMethodset_xlabel
(&mut self, label: &str)
src/plots/bar.rs:33
↓ 2 callersFunctionsolve_lu
(n: usize, lhs: &[f64], rhs: &[f64])
src/polynomial.rs:112
↓ 1 callersMethodas_pie_segs
(&self)
src/plots/pie.rs:82
↓ 1 callersFunctioncollatz
(input: f64)
examples/collatz.rs:20
↓ 1 callersMethodcolor
Colors the segment at the given index with the color. /// # Example ``` use graplot::{Pie, Color}; let mut pie = Pie::new([25., 20., 15., 15., 35.]);
src/plots/pie.rs:48
↓ 1 callersFunctioncount_nodes_in_layers
(layers: &[Layer])
src/graph.rs:121
↓ 1 callersFunctiondraw_back_grid
(slices: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:347
↓ 1 callersFunctiondraw_bottom_grid
(slices_z: u32, slices_x: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:308
↓ 1 callersFunctiondraw_left_grid
(slices: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:331
↓ 1 callersFunctionget_font_size_x
(max: f64)
src/eval.rs:55
↓ 1 callersMethodlayers
(&self)
src/graph.rs:81
↓ 1 callersFunctionmax
(arr: &[f64])
src/eval.rs:3
↓ 1 callersFunctionmin
(arr: &[f64])
src/eval.rs:14
↓ 1 callersFunctionmin_matrix
(mat: &Matrix)
src/eval.rs:172
↓ 1 callersFunctionnegative
(arr: &[f64])
src/eval.rs:186
↓ 1 callersFunctionnegative_only
(bar: Bar, step_y: f64, y_half_font: f32, y_font_size: f32, max_y: f64, ys: Vec<f64>)
src/render/bar.rs:59
↓ 1 callersMethodnodes_contains_deps
(&self, deps: &[usize])
src/graph.rs:143
↓ 1 callersFunctionpositive_negative
(bar: Bar, step_y: f64, y_half_font: f32, y_font_size: f32, max_y: f64, ys: Vec<f64>)
src/render/bar.rs:108
↓ 1 callersFunctionpositive_only
(bar: Bar, step_y: f64, y_half_font: f32, y_font_size: f32, max_y: f64, ys: Vec<f64>)
src/render/bar.rs:182
↓ 1 callersMethodset_color
Set graph color # Example ``` use graplot::Plot; let mut plot = Plot::new([1., 2., 3.]); plot.set_color(0., 0.78, 1.); plot.show(); ```
src/plots/plot.rs:35
↓ 1 callersMethodset_node_color
(&mut self, node_color: Color)
src/graph.rs:77
↓ 1 callersFunctionsub
(lhs: &[f64], rhs: f64)
src/eval.rs:47
Methodadd
(&mut self, args: A)
src/plots/scatter.rs:37
Methodadd
(&mut self, args: A)
src/plots/plot3d.rs:19
Methodadd
adds a new graph / plot to the original plot.
src/plots/plot.rs:54
Methodas_single_bar_desc
(&self)
src/plots/bar.rs:108
Methodcolor
Colors the bar at the given index with the color. ``` use graplot::{Bar, Color}; let mut bar = Bar::new(["Red", "Green", "Blue"], &[200., 220., 250.]
src/plots/bar.rs:50
Methodcolor
Colors the graph at the given index with the color. # Example ``` use graplot::{Plot, BLUE}; let mut plot = Plot::new([1., 2., 3.,]); plot.add([2., 3
src/plots/plot.rs:49
Methoddefault
()
src/graph.rs:30
Methoddefault
()
src/line_desc.rs:23
Methoddefault
()
src/lib.rs:60
Methoddefault
()
src/plots/bar.rs:97
Methodfrom
(nodes: Vec<Node>)
src/graph.rs:52
Methodfrom
(desc: &str)
src/line_desc.rs:33
Functionmain
()
examples/custom_scaling.rs:3
Functionmain
()
examples/graph.rs:3
Functionmain
()
examples/sine.rs:3
Functionmain
()
examples/scatter.rs:3
Functionmain
()
examples/sigmoid.rs:3
Functionmain
()
examples/line_desc.rs:3
Functionmain
#[cfg(target_os = "linux")] fn main() { use graplot::Plot; let mut plot = Plot::new(|x: f64| x.powf(3.) + x.powf(2.) - 0.08); plot.set_tit
examples/mutliple_windows.rs:18
Functionmain
()
examples/exp_fn.rs:3
Functionmain
()
examples/bar.rs:3
Functionmain
()
examples/sine_wave.rs:3
Functionmain
()
examples/ys.rs:3
Functionmain
()
examples/bar_colored.rs:3
Functionmain
()
examples/x3.rs:3
Functionmain
()
examples/collatz.rs:3
Functionmain
()
examples/3d.rs:3
Functionmain
()
examples/1x.rs:3
Functionmain
()
examples/polynomial.rs:3
Functionmain
()
examples/pie_chart.rs:4
Functionmain
()
examples/graph_modified.rs:3
Functionmain
()
examples/tanh.rs:3
Functionmain
()
examples/title_and_axis.rs:3
Functionmain
()
examples/multiple_plots.rs:3
Functionmain
()
examples/squared.rs:3
Functionmarkers
()
tests/markers.rs:4
Methodnew
()
src/graph.rs:58
Methodnew
(xs: &[f64], ys: &[f64])
src/polynomial.rs:18
Methodnew
(args: A)
src/plots/scatter.rs:10
Methodnew
(args: A)
src/plots/pie.rs:21
Methodnew
(xs: A, ys: &[f64])
src/plots/bar.rs:20
Methodnew
(args: A)
src/plots/plot3d.rs:15
Methodnew
(args: impl PlotArg)
src/plots/plot.rs:18
Methodpartial_cmp
(&self, other: &Self)
src/plots/pie.rs:72
Functionrun
(graph: Graph)
src/render/graph.rs:7
Functionrun
(bar: Bar, _min_y: f64, max_y: f64, steps_y: f64)
src/render/bar.rs:8
Functionrun
(plot: Plot3D)
src/render/plot3d.rs:5
Functionrun
(plot: Plot, min_y: f64, other_scaling: bool)
src/render/plot.rs:12
Methodset_desc
(&mut self, desc: Desc)
src/plots/scatter.rs:33
Methodset_graph_desc
(&mut self, graph_desc: GraphDesc)
src/graph.rs:62
Methodset_radius
sets the radius of the final circle. Default radius: 110.0
src/plots/pie.rs:31
Methodset_title
(&mut self, title: &str)
src/plots/scatter.rs:21
Methodset_title
(&mut self, title: &str)
src/plots/bar.rs:29
next →1–100 of 146, ranked by callers