plot_hemispheres¶
Synopsis¶
Plots data on the cortical surface (source code).
Usage¶
handles = plot_hemispheres(data,surface,varargin);
- data: an n-by-m vector of data to plot where n is the number of vertices or parcels, and m the number of markers to plot.
- surface: a surface readable by convert_surface or a two-element cell array containing left and right hemispheric surfaces in that order.
- varargin: Name-Value Pairs (see below).
- handles: a structure containing the handles of the graphics objects.
Description¶
Plots any data vector onto cortical surfaces. Data is always provided as a single vector; if two surfaces are provided then the n vertices of the first surface will be assigned datapoints 1:n and the second surface is assigned the remainder. If a parcellation scheme is provided, data should have as many datapoints as there are parcels.
BrainSpace only provides basic figure building functionality. For more information on how to use MATLAB to create publication-ready figures we recommend delving into graphics object properties (e.g. figure, axes, surface). Also see the source code for basic graphic object property modifications.
Name-Value Pairs¶
- parcellation: an k-by-1 vector containing the parcellation scheme, where k is the number of vertices.
- labeltext: A cell array of m elements containing labels for each column of data. These will be printed next to the hemispheres.