Multidimensional Plotting

version 1.3.1 (16.1 KB) by Ben Senderling
This package allows multidimensional vectors to be transformed into a three dimensional space and visualized.


Updated 17 Jul 2021

From GitHub

View License on GitHub


This package uses the geometry of regular polyhedra to create axes representing multiple dimensions. It allows multi-dimentional data to be transformed and visualized in a three-dimentional space. Plotting in a one-dimensional system up to an eight dimensional system is currently possible. Not all of these are perfect representations of a multidimentional space. Those are spaces with 5, 6 and 7 dimensions. They are created by combinations of other geometries.


The code will need to be added to your MATLAB path.


[x, y, z] = plotMD(x) Plots each column as a seperate dimension.

[x, y, z] = plotMD(x,y) Plots each column of the variable inputs in seperate dimensions.

[x, y, z] = plotMD(x,y,z) Plots three time series using as many dimensions as necessary.

[x, y, z] = plotsMD(x,y,z,w,...) Plots four, or more, time series using as many dimensions as the total number of columns.

phsprecon(yy) Provide a graphical interfase through which to explore plotting in multiple dimensions.


If you'd like to make changes feel free to initiate a pull request with a full description of what you have changed. If there is an issue please create an issue first so we can discuss it and plan future improvements.



Cite As

Ben Senderling (2022). Multidimensional Plotting (, GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.