Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:ft_plot_vol [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  FT_PLOT_VOL =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_plot_vol"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​ft_plot_vol><​font color=green>​FT_PLOT_VOL</​font></​a>​ visualizes the boundaries in the volume conduction model of the head as
 +  specified in the headmodel structure
 + 
 +  Use as
 +    hs = ft_plot_vol(headmodel,​ varargin)
 + 
 +  Optional arguments should come in key-value pairs and can include
 +    '​facecolor' ​   = [r g b] values or string, for example '​brain',​ '​cortex',​ '​skin',​ '​black',​ '​red',​ '​r',​ or an Nx3 or Nx1 array where N is the number of faces
 +    '​vertexcolor' ​ = [r g b] values or string, for example '​brain',​ '​cortex',​ '​skin',​ '​black',​ '​red',​ '​r',​ or an Nx3 or Nx1 array where N is the number of vertices
 +    '​edgecolor' ​   = [r g b] values or string, for example '​brain',​ '​cortex',​ '​skin',​ '​black',​ '​red',​ '​r'​
 +    '​faceindex' ​   = true or false
 +    '​vertexindex' ​ = true or false
 +    '​facealpha' ​   = transparency,​ between 0 and 1 (default = 1)
 +    '​edgealpha' ​   = transparency,​ between 0 and 1 (default = 1)
 +    '​surfaceonly' ​ = true or false, plot only the outer surface of a hexahedral or tetrahedral mesh (default = false)
 +    '​unit' ​        = string, convert to the specified geometrical units (default = [])
 +    '​grad' ​        = gradiometer array, used in combination with local spheres model
 + 
 +  Example
 +    headmodel ​  = [];
 +    headmodel.r = [86 88 92 100];
 +    headmodel.o = [0 0 40];
 +    figure, ft_plot_vol(headmodel)
 + 
 +  See also <a href=/​reference/​ft_prepare_headmodel><​font color=green>​FT_PREPARE_HEADMODEL</​font></​a>,​ <a href=/​reference/​ft_plot_mesh><​font color=green>​FT_PLOT_MESH</​font></​a>,​ <a href=/​reference/​ft_plot_sens><​font color=green>​FT_PLOT_SENS</​font></​a>​
 +</​pre></​html>​