A custom made gnuplot based plotter for scientific data and image diffs
- gnuplot
- python3
mplot -a|--argument [value] ...
Arguments:
-i|--input [value] - input file containing data to be plotted
-a|--axes - enable axis labels (XYZ)
-d|--diff - special mode for image diffing, requires files: reference, first, [second]. Computes MSE, PSNR, SSIM, MAE and relMSE
-s|--save [file] - save output to file as PNG
-p|--psave [file] - save output to file as PNG and leave window open
-m|--mode [value] - plotter mode, select one of the following:
- simple2d - standard plot
- heat2d - 2D heat map, requires 3 columns
- vector2d - 2D vector plot from 3D coords, (a, b): xa,ya,za,xb,yb,zb, aka two points
- vecdist2d - 2D vector plot from 3D coords, as vector2d, with distance label, file format: x1,y1,z1,x2,y2,z2,dist
- simple3d - standard splot
- simpal3d - 3D colored point plot, requires x,y,z,c
- vector3d - 3D vector plot, requires (a, direction) aka point and vector direction
- vecpal3d - 3D colored vector plot, requires (a, direction, c) aka point, vector direction and single value
- heat3d - 3D heat map, requires 4 columns sorted by X value with blank lines between different values