Hyperplot Tools
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
Cite As
Jeremy Manning (2024). Hyperplot Tools (https://www.mathworks.com/matlabcentral/fileexchange/56623-hyperplot-tools), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
- Sciences > Neuroscience > Frequently-used Algorithms >
Tags
Acknowledgements
Inspired by: rgb.m, Beautiful and distinguishable line colors + colormap
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
hyperplot_tools/
Version | Published | Release Notes | |
---|---|---|---|
1.0.4.0 | more bug fixes |
||
1.0.3.0 | bug fixes |
||
1.0.2.0 | Updated the hyperalignment function to more conveniently deal with mismatched sizes and numbers of dimensions. |
||
1.0.1.0 | Added support for cell arrays in plot_coords (makes it possible to create multiple plots at once). |
||
1.0.0.0 |