Home > simtb_v18 > display > simtb_showSMContours.m

simtb_showSMContours

PURPOSE ^

simtb_showSMContours() - Plot SMs as contours

SYNOPSIS ^

function [F, CH] = simtb_showSMContours(SM, contour_level, CMAP, FILL_flag, LEGEND_flag, BLKbg_flag, fignameORAxis)

DESCRIPTION ^

   simtb_showSMContours()  - Plot SMs as contours

   Usage:
    >> [F, CH] = simtb_showSMContours(SM, contour_level, CMAP, FILL_flag, LEGEND_flag, BLKbg_flag, fignameORAxis)

   INPUTS:
   SM            = SMs, size = [number of components x number of voxels]
   contour_level = level at which to draw contours [OPTIONAL, default = 0.5]
   CMAP          = [nC x 3] matrix of colors for contours [OPTIONAL, default = 'jet']
                   e.g., for 3 components: [[1 0 0]; [0 1 0], [0 0 1]];
   FILL_flag     = 1|0, 1 to fill the contours [OPTIONAL, default = 1]
   LEGEND_flag   = 1|0, 1 to include legend [OPTIONAL, default = 1]
   BLKbg_flag    = 1|0, 1 to have black background [OPTIONAL, default = 1]
   fignameORAxis = name of figure (OPTIONAL); Alternatively, can be the handle of an axis to plot on

   OUTPUTS:
   F             = Figure handle
   CH            = Contour handles

 see also: simtb_showSM()

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 29-Mar-2011 15:45:29 by m2html © 2005