Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elftausend/graplot
/ functions
Functions
146 in github.com/elftausend/graplot
⨍
Functions
146
◇
Types & classes
26
↓ 56 callers
Method
show
(self)
src/graph.rs:109
↓ 21 callers
Method
add_node
(&mut self, deps: Vec<usize>)
src/graph.rs:66
↓ 15 callers
Function
count_inv_tens
(mut num: f64)
src/eval.rs:34
↓ 15 callers
Function
x
sets the absolute max value for x
src/lib.rs:46
↓ 12 callers
Method
add
(&mut self, bar: A, y: f64)
src/plots/bar.rs:54
↓ 10 callers
Method
set_title
(&mut self, title: &str)
src/plots/pie.rs:35
↓ 8 callers
Function
draw_line_with_text
(y: f32, val: T, y_half_font: f32, y_font_size: f32)
src/render/bar.rs:27
↓ 7 callers
Method
set_ylabel
(&mut self, label: &str)
src/plots/bar.rs:37
↓ 6 callers
Method
as_single_bar_desc
(&self)
src/plots/bar.rs:143
↓ 6 callers
Function
max_display
(max: f64, other_scaling: bool)
src/eval.rs:105
↓ 6 callers
Function
run
(pie: Pie)
src/render/pie.rs:6
↓ 5 callers
Function
max_matrix
(mat: &Matrix)
src/eval.rs:159
↓ 5 callers
Method
set_desc
(&mut self, desc: Desc)
src/plots/plot.rs:22
↓ 4 callers
Method
as_plot
(&self)
src/plots/plot.rs:118
↓ 4 callers
Function
axis_desc_x
(val: T, x: f32, x_half_font: f32, x_font_size: f32, half_height: f32)
src/render/plot.rs:302
↓ 4 callers
Function
axis_desc_y
(val: T, y: f32, half_width: f32, y_half_font: f32, y_font_size: f32)
src/render/plot.rs:288
↓ 4 callers
Function
count_tens
(mut num: f64)
src/eval.rs:24
↓ 3 callers
Method
as_bar_desc
(&self)
src/plots/bar.rs:114
↓ 3 callers
Function
divs
(lhs: &[f64], rhs: f64)
src/eval.rs:43
↓ 3 callers
Function
draw_bars
(x_level: f32, ys: &[f64], bar: &Bar)
src/render/bar.rs:41
↓ 3 callers
Function
get_steps
(max: f64, mut min_steps: f64)
src/eval.rs:80
↓ 2 callers
Method
as_plot
(&self)
src/polynomial.rs:39
↓ 2 callers
Method
as_plot
(&self)
src/plots/plot3d.rs:42
↓ 2 callers
Function
get_font_size_y
(max: f64)
src/eval.rs:66
↓ 2 callers
Function
polynomial
(xs: &[f64], ys: &[f64])
src/polynomial.rs:23
↓ 2 callers
Method
set_xlabel
(&mut self, label: &str)
src/plots/bar.rs:33
↓ 2 callers
Function
solve_lu
(n: usize, lhs: &[f64], rhs: &[f64])
src/polynomial.rs:112
↓ 1 callers
Method
as_pie_segs
(&self)
src/plots/pie.rs:82
↓ 1 callers
Function
collatz
(input: f64)
examples/collatz.rs:20
↓ 1 callers
Method
color
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 callers
Function
count_nodes_in_layers
(layers: &[Layer])
src/graph.rs:121
↓ 1 callers
Function
draw_back_grid
(slices: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:347
↓ 1 callers
Function
draw_bottom_grid
(slices_z: u32, slices_x: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:308
↓ 1 callers
Function
draw_left_grid
(slices: u32, spacing_x: f32, spacing_z: f32)
src/render/plot3d.rs:331
↓ 1 callers
Function
get_font_size_x
(max: f64)
src/eval.rs:55
↓ 1 callers
Method
layers
(&self)
src/graph.rs:81
↓ 1 callers
Function
max
(arr: &[f64])
src/eval.rs:3
↓ 1 callers
Function
min
(arr: &[f64])
src/eval.rs:14
↓ 1 callers
Function
min_matrix
(mat: &Matrix)
src/eval.rs:172
↓ 1 callers
Function
negative
(arr: &[f64])
src/eval.rs:186
↓ 1 callers
Function
negative_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 callers
Method
nodes_contains_deps
(&self, deps: &[usize])
src/graph.rs:143
↓ 1 callers
Function
positive_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 callers
Function
positive_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 callers
Method
set_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 callers
Method
set_node_color
(&mut self, node_color: Color)
src/graph.rs:77
↓ 1 callers
Function
sub
(lhs: &[f64], rhs: f64)
src/eval.rs:47
Method
add
(&mut self, args: A)
src/plots/scatter.rs:37
Method
add
(&mut self, args: A)
src/plots/plot3d.rs:19
Method
add
adds a new graph / plot to the original plot.
src/plots/plot.rs:54
Method
as_single_bar_desc
(&self)
src/plots/bar.rs:108
Method
color
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
Method
color
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
Method
default
()
src/graph.rs:30
Method
default
()
src/line_desc.rs:23
Method
default
()
src/lib.rs:60
Method
default
()
src/plots/bar.rs:97
Method
from
(nodes: Vec<Node>)
src/graph.rs:52
Method
from
(desc: &str)
src/line_desc.rs:33
Function
main
()
examples/custom_scaling.rs:3
Function
main
()
examples/graph.rs:3
Function
main
()
examples/sine.rs:3
Function
main
()
examples/scatter.rs:3
Function
main
()
examples/sigmoid.rs:3
Function
main
()
examples/line_desc.rs:3
Function
main
#[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
Function
main
()
examples/exp_fn.rs:3
Function
main
()
examples/bar.rs:3
Function
main
()
examples/sine_wave.rs:3
Function
main
()
examples/ys.rs:3
Function
main
()
examples/bar_colored.rs:3
Function
main
()
examples/x3.rs:3
Function
main
()
examples/collatz.rs:3
Function
main
()
examples/3d.rs:3
Function
main
()
examples/1x.rs:3
Function
main
()
examples/polynomial.rs:3
Function
main
()
examples/pie_chart.rs:4
Function
main
()
examples/graph_modified.rs:3
Function
main
()
examples/tanh.rs:3
Function
main
()
examples/title_and_axis.rs:3
Function
main
()
examples/multiple_plots.rs:3
Function
main
()
examples/squared.rs:3
Function
markers
()
tests/markers.rs:4
Method
new
()
src/graph.rs:58
Method
new
(xs: &[f64], ys: &[f64])
src/polynomial.rs:18
Method
new
(args: A)
src/plots/scatter.rs:10
Method
new
(args: A)
src/plots/pie.rs:21
Method
new
(xs: A, ys: &[f64])
src/plots/bar.rs:20
Method
new
(args: A)
src/plots/plot3d.rs:15
Method
new
(args: impl PlotArg)
src/plots/plot.rs:18
Method
partial_cmp
(&self, other: &Self)
src/plots/pie.rs:72
Function
run
(graph: Graph)
src/render/graph.rs:7
Function
run
(bar: Bar, _min_y: f64, max_y: f64, steps_y: f64)
src/render/bar.rs:8
Function
run
(plot: Plot3D)
src/render/plot3d.rs:5
Function
run
(plot: Plot, min_y: f64, other_scaling: bool)
src/render/plot.rs:12
Method
set_desc
(&mut self, desc: Desc)
src/plots/scatter.rs:33
Method
set_graph_desc
(&mut self, graph_desc: GraphDesc)
src/graph.rs:62
Method
set_radius
sets the radius of the final circle. Default radius: 110.0
src/plots/pie.rs:31
Method
set_title
(&mut self, title: &str)
src/plots/scatter.rs:21
Method
set_title
(&mut self, title: &str)
src/plots/bar.rs:29
next →
1–100 of 146, ranked by callers