Changeset 14401
- Timestamp:
- 02/27/13 07:51:41 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plotmodel.m
r14300 r14401 8 8 subplotwidth=ceil(sqrt(options.numberofplots)); 9 9 10 %Get figure number and number of plots 11 figurenumber=options.figurenumber; 12 numberofplots=options.numberofplots; 13 10 14 %if nlines and ncols specified, then bypass. 11 15 if exist(options.list{1},'nlines'), 12 16 nlines=getfieldvalue(options.list{1},'nlines'); 13 17 else 14 nlines= subplotwidth;18 nlines=ceil(numberofplots/subplotwidth); 15 19 end 16 20 … … 25 29 error('plotmodel error message: nlines and ncols need to be specified together, or not at all'); 26 30 end 27 28 %Get figure number and number of plots29 figurenumber=options.figurenumber;30 numberofplots=options.numberofplots;31 31 32 32 %go through subplots
Note:
See TracChangeset
for help on using the changeset viewer.