plot

Terminal & SVG Visualization

Functions

FunctionDescription
print_repeat
plot_bar
plot_bars
plot_line
hist_bin
plot_hist
scatter_points
scatter_print
plot_heatmap
stat_min
stat_max
stat_sum
stat_mean
plot_summary

Details

fn print_repeat(ch: &i8, n: i64) -> i64

plot_bar

fn plot_bar(val: i64, max_val: i64, width: i64) -> i64

plot_bars

fn plot_bars(arr: &i64, len: i64, width: i64) -> i64

plot_line

fn plot_line(arr: &i64, len: i64, height: i64) -> i64

hist_bin

fn hist_bin(arr: &i64, len: i64, nbins: i64, lo: i64, hi: i64, bins: &i64) -> i64

plot_hist

fn plot_hist(arr: &i64, len: i64, nbins: i64, lo: i64, hi: i64, width: i64, bins: &i64) -> i64

scatter_points

fn scatter_points(xs: &i64, ys: &i64, len: i64, grid: &i64, dim: i64) -> i64

scatter_print

fn scatter_print(grid: &i64, width: i64, height: i64) -> i64

plot_heatmap

fn plot_heatmap(data: &i64, rows: i64, cols: i64) -> i64

stat_min

fn stat_min(arr: &i64, len: i64) -> i64

stat_max

fn stat_max(arr: &i64, len: i64) -> i64

stat_sum

fn stat_sum(arr: &i64, len: i64) -> i64

stat_mean

fn stat_mean(arr: &i64, len: i64) -> i64

plot_summary

fn plot_summary(arr: &i64, len: i64) -> i64