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
more bug fixes
Updated the hyperalignment function to more conveniently deal with mismatched sizes and numbers of dimensions.
Added support for cell arrays in plot_coords (makes it possible to create multiple plots at once).
Inspired by: rgb.m, Beautiful and distinguishable line colors + colormap
Create scripts with code, output, and formatted text in a single executable document.