Picolo
A very simple Image-reading crate for plotting data (Inspired by Google's simple approach to plotting) and an image reading crate that breaks down data with the precision decided by the user. All is Very, very alpha-stage right now.
Plot Example: https://imgur.com/a/drPB8e0
Basic plot
// Plotting a 2d Vector
// @Params: x: &u32, y: &u32
use plot_tbl;
Setting up image table
// Easiest way to print half the contents
let pixl_struct = load_picture;
for i in pixl_struct
// Accessing all fields:
// @Params: &path as &str, precision as u32 (1 = 100% = pixels counted, 2 = 50%, ...)
use load_picture;
let foo = "images/icon.png";
let bar_str = &foo;
let precision = 100;
let pixl_struct = load_picture;
// Print all the contents derived from image
for i in pixl_struct
#TODO:
- Add option to draw circles if preferred (.json file preferably)
- Add coloring variation if dataset become too large for the plot
- Add text above individual datapoints (Display: as '50, 12')
- Add line drawing
- Add function to open image after the plot has been drawn so the user doesn't have to
- Refactor current way of finding origin with more exact positions
- Fix allignment issues