source: MML/trunk/at/atgui/dispfamvalues.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 437 bytes
Line 
1function values = dispfamvalues(FAMNAME,FIELD,varargin)
2%DISPFAMVALUES displays values of a scalar field 'FIELD'
3% for all elements in the 'FAMNAME' family using the MATLAB bar plot
4% DISPFAMVALUES('FAMNAME','FIELD')
5% DISPFAMVALUES('FAMNAME','FIELD',BASELINE)
6 
7
8global THERING
9findex = findcells(THERING,'FamName',FAMNAME);
10values = getcellstruct(THERING,FIELD,findex');
11if (nargin>2)
12        bar(values-varargin{1});
13else
14        bar(values);
15end
16       
Note: See TracBrowser for help on using the repository browser.