Home > brede > brede_str_plot_phrasefrq.m

brede_str_plot_phrasefrq

PURPOSE ^

brede_str_plot_phrasefrq - Plot phrase frequency

SYNOPSIS ^

function brede_str_plot_phrasefrq(S, varargin)

DESCRIPTION ^

 brede_str_plot_phrasefrq - Plot phrase frequency

       brede_str_plot_phrasefrq(S)

       Input:  S    Cell strings

       Example:
         % Simple example
         p = { 'PET' 'fMRI' 'fMRI' 'fMRI' 'PET' 'MEG' };
         figure, brede_str_plot_phrasefrq(p) 

         % With the Brede Database: Find the most frequent
         % neuroanatomical phrases not identified with the WOROI
         % database 
         f = fullfile(fileparts(which('brede')), 'xml', 'wobibs.xml');
         B = brede_read_xml(f, 'output', 'collapsesecond');
         L = brede_bib_bib2loc(B);
         M = brede_loc_loc2mat(L, 'type', 'woroi')
         Lmissing = L(find(sum(M.matrix,2)==0));
         la = brede_struct_select(Lmissing, 'select', 'lobarAnatomy');
         figure, brede_str_plot_phrasefrq(la)
 
       See also BREDE, BREDE_STR, BREDE_STR_PHRASEFRQ,
                BREDE_MAT_PLOT_COUNT.

 $Id: brede_str_plot_phrasefrq.m,v 1.2 2005/03/17 14:22:39 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