This is a set of convenience functions for plotting and manipulating high-dimensional data:
1.) plot_coords.m. The function takes in a number-of-observations by number-of-dimension matrix and projects it onto (up to) 3 dimensions.
2.) trajectory_plotter.m. The function takes in a series of matrices (of high-dimensional coordinates) and creates a beautiful spinning animation of the trajectories evolving over time, projected onto 3d space.
3.) vals2colors.m. Returns a set of (R,G,B) values that reflects a given set of scaler values. This is useful for creating colorized scatterplots, and can also be passed into plot_coords.m.
4.) hyperalign.m. Takes a series of high-dimensional trajectories and computes the affine transformations needed to bring the trajectories into the closest alignment. Both the aligned trajectories and the transformations are returned.
5.) linspecer.m. This file is included for convience; the original version may be found here: http://www.mathworks.com/matlabcentral/fileexchange/42673
Jeremy Manning (2020). Hyperplot Tools (https://www.mathworks.com/matlabcentral/fileexchange/56623-hyperplot-tools), MATLAB Central File Exchange. Retrieved .
Inspired by: rgb.m, Beautiful and distinguishable line colors + colormap
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!