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 | |
---|
1 | function 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 | |
---|
8 | global THERING |
---|
9 | findex = findcells(THERING,'FamName',FAMNAME); |
---|
10 | values = getcellstruct(THERING,FIELD,findex'); |
---|
11 | if (nargin>2) |
---|
12 | bar(values-varargin{1}); |
---|
13 | else |
---|
14 | bar(values); |
---|
15 | end |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.