2d and 3d brain plots

Quickly and easily create 2d and 3d plots of fMRI data.


Updated 17 Jan 2017

View License

Industry standard brain plotting programs are great for producing publication-quality images of brain data. However, these tools are often very slow. This suite of tools provides a means of quickly generating 2- or 3-dimensional plots of fMRI data that can be manipulated (e.g. rotated, modified) in real time.
Although these tools may be used to produce publication-quality figures, the focus here is on speed and ease of use. These tools are intended to be used for quickly exploring and examining fMRI data, debugging fMRI analyses, etc.
Note: this version is no longer maintained. Instead see: https://github.com/ContextLab/brain-plots

Cite As

Jeremy Manning (2023). 2d and 3d brain plots (https://www.mathworks.com/matlabcentral/fileexchange/36139-2d-and-3d-brain-plots), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on MRI in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

I've added two missing files and have included minor updates to several functions.
include link to github version

Fixed some documentation errors, added support for more formats.

I have made a number of changes with this update that are intended to make the plotting functions easier to use.

added two new functions that plot from 3d matrices (tensors) rather than requiring the meta matrix.

Include file dependencies in the download.

updated documentation in plot_brain3d -- erode_layers parameter was incorrectly described in previous version.