Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help ft_singleplotTFR”.
FT_SINGLEPLOTTFR plots the time-frequency representation of power of a single channel or the average over multiple channels. Use as ft_singleplotTFR(cfg,data) The input freq structure should be a a time-frequency representation of power or coherence that was computed using the FT_FREQANALYSIS function. The configuration can have the following parameters: cfg.parameter = field to be plotted on z-axis, e.g. 'powspcrtrm' (default depends on data.dimord) cfg.maskparameter = field in the data to be used for masking of data (not possible for mean over multiple channels, or when input contains multiple subjects or trials) cfg.maskstyle = style used to mask nans, 'opacity' or 'saturation' (default = 'opacity') use 'saturation' when saving to vector-format (like *.eps) to avoid all sorts of image-problems cfg.maskalpha = alpha value used for masking areas dictated by cfg.maskparameter (0 - 1, default = 1) cfg.xlim = 'maxmin' or [xmin xmax] (default = 'maxmin') cfg.ylim = 'maxmin' or [ymin ymax] (default = 'maxmin') cfg.zlim = 'maxmin','maxabs' or [zmin zmax] (default = 'maxmin') cfg.baseline = 'yes','no' or [time1 time2] (default = 'no'), see FT_FREQBASELINE cfg.baselinetype = 'absolute' or 'relative' (default = 'absolute') cfg.trials = 'all' or a selection given as a 1xN vector (default = 'all') cfg.channel = Nx1 cell-array with selection of channels (default = 'all'), see FT_CHANNELSELECTION for details cfg.refchannel = name of reference channel for visualising connectivity, can be 'gui' cfg.fontsize = font size of title (default = 8) cfg.hotkeys = enables hotkeys (up/down arrows) for dynamic colorbar adjustment cfg.colormap = any sized colormap, see COLORMAP cfg.colorbar = 'yes', 'no' (default = 'yes') cfg.interactive = Interactive plot 'yes' or 'no' (default = 'no') In a interactive plot you can select areas and produce a new interactive plot when a selected area is clicked. Multiple areas can be selected by holding down the SHIFT key. cfg.renderer = 'painters', 'zbuffer',' opengl' or 'none' (default = []) cfg.masknans = 'yes' or 'no' (default = 'yes') cfg.directionality = '', 'inflow' or 'outflow' specifies for connectivity measures whether the inflow into a node, or the outflow from a node is plotted. The (default) behavior of this option depends on the dimor of the input data (see below). For the plotting of directional connectivity data the cfg.directionality option determines what is plotted. The default value and the supported functionality depend on the dimord of the input data. If the input data is of dimord 'chan_chan_XXX', the value of directionality determines whether, given the reference channel(s), the columns (inflow), or rows (outflow) are selected for plotting. In this situation the default is 'inflow'. Note that for undirected measures, inflow and outflow should give the same output. If the input data is of dimord 'chancmb_XXX', the value of directionality determines whether the rows in data.labelcmb are selected. With 'inflow' the rows are selected if the refchannel(s) occur in the right column, with 'outflow' the rows are selected if the refchannel(s) occur in the left column of the labelcmb-field. Default in this case is '', which means that all rows are selected in which the refchannel(s) occur. This is to robustly support linearly indexed undirected connectivity metrics. In the situation where undirected connectivity measures are linearly indexed, specifying 'inflow' or 'outflow' can result in unexpected behavior. See also FT_SINGLEPLOTER, FT_MULTIPLOTER, FT_MULTIPLOTTFR, FT_TOPOPLOTER, FT_TOPOPLOTTFR
Share this page: