Home > brede > brede_ta2_grid.m

brede_ta2_grid

PURPOSE ^

brede_ta2_grid - Construct 2D Talairach grid

SYNOPSIS ^

function hh = brede_ta2_grid(varargin)

DESCRIPTION ^

 brede_ta2_grid       - Construct 2D Talairach grid

       function h = brede_ta2_grid( ...
           'PropertyName', 'PropertyValue')

       Property: Color       [ 0 0 0 ] Color for the grid
                 Type        [ Talairach | {2cm} | 1cm ]
                 LineStyle   [ {LinesAndDots} | - | -- | : | -. |
                             Ticks ]

       Output:   h   Graphic handle

       This function constructs a grid. By default the grid lines are
       spaced with 2 centimeters (type='2cm').

       Example: 
         % Filename for some volume
         f = fullfile(fileparts(which('spm')), 'canonical', 'single_subj_T1');
         % Load volume
         V = brede_read_analyze(f);
         figure, brede_ta2_vol(V, 'colormap', 'gray')
         brede_ta2_grid('linestyle', ':', 'color', [0.5 0.5 0])

         figure, brede_ta2_vol(V, 'colormap', 'gray', 'orthotype', 'coronal')
         brede_ta2_grid('color', [0.3 0.3 0.8])

         figure
         brede_ta2_vol(V,'colormap','gray','orthotype','sagittal','slices',0)
         brede_ta2_grid('type', '1cm')

       See also BREDE, BREDE_TA2, BREDE_TA2_FRAME, BREDE_TA3_GRID.

 $Id: brede_ta2_grid.m,v 1.2 2005/12/06 17:38:32 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005