Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_plot_slice”.
FT_PLOT_SLICE cuts a 2-D slice from a 3-D volume and interpolates if needed Use as ft_plot_slice(dat, ...) or ft_plot_ortho(dat, mask, ...) Additional options should be specified in key-value pairs and can be 'transform' = 4x4 homogeneous transformation matrix specifying the mapping from voxel space to the coordinate system in which the data are plotted. 'location' = 1x3 vector specifying a point on the plane which will be plotted the coordinates are expressed in the coordinate system in which the data will be plotted. location defines the origin of the plane 'orientation' = 1x3 vector specifying the direction orthogonal through the plane which will be plotted 'resolution' = number (default = 1) 'datmask' = 3D-matrix with the same size as the matrix dat, serving as opacitymap if the second input argument to the function contains a matrix, this will be used as the mask 'opacitylim' = 1x2 vector specifying the limits for opacity masking 'interpmethod' = string specifying the method for the interpolation, see INTERPN (default = 'nearest') 'style' = string, 'flat' or '3D' 'colormap' = string, see COLORMAP 'colorlim' = 1x2 vector specifying the min and max for the colorscale 'interplim' See also FT_PLOT_ORTHO, FT_SOURCEPLOT
Share this page: