Back to the main page.

Bug 1682 - some options of ft_plot_vol are not documented

Status CLOSED FIXED
Reported 2012-08-31 12:55:00 +0200
Modified 2015-07-15 13:31:28 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Lilla Magyari - 2012-08-31 12:55:30 +0200

options for transparency is not documented at ft_plot_vol (e.g.: facealpha), however, it works. (see e.g.: ft_plot_mesh)


Lilla Magyari - 2013-07-23 23:21:57 +0200

reassign to joint development user


Jan-Mathijs Schoffelen - 2013-10-09 16:03:02 +0200

Hi Lilla, Could you take this one again?


Jan-Mathijs Schoffelen - 2015-02-16 09:39:22 +0100

[jansch@mentat003 plotting]$ svn diff ft_plot_vol.m Index: ft_plot_vol.m =================================================================== --- ft_plot_vol.m (revision 10231) +++ ft_plot_vol.m (working copy) @@ -7,12 +7,14 @@ % hs = ft_plot_vol(vol, 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' -% 'vertexcolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' -% 'edgecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r' -% 'facealpha' = number between 0 and 1 -% 'faceindex' = true or false -% 'vertexindex' = true or false +% 'facecolor' = [r g b] values or string, for example 'brain', 'cortex', 'skin', 'black', 'red', 'r', or an 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 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) % % Example % vol = []; @@ -20,7 +22,7 @@ % vol.o = [0 0 40]; % figure, ft_plot_vol(vol) % -% See also FT_PREPARE_HEADMODEL +% See also FT_PREPARE_HEADMODEL FT_PLOT_MESH % Copyright (C) 2009, Cristiano Micheli % [jansch@mentat003 plotting]$ svn commit -m "documentation - update" ft_plot_vol.m Sending ft_plot_vol.m Transmitting file data . Committed revision 10232.