Changeset 1263
- Timestamp:
- 07/08/09 11:49:14 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Exp/expdisp.m
r1 r1263 12 12 figurenumber=1; 13 13 linestyle='r-'; 14 unitmultiplier=1; 14 15 end 15 16 … … 17 18 figurenumber=varargin{1}; 18 19 linestyle='r-'; 20 unitmultiplier=1; 19 21 end 20 22 … … 22 24 figurenumber=varargin{1}; 23 25 linestyle=varargin{2}; 26 unitmultiplier=1; 24 27 end 25 28 29 if nargin==4, 30 figurenumber=varargin{1}; 31 linestyle=varargin{2}; 32 unitmultiplier=varargin{3}; 33 if isnan(unitmultiplier), 34 unitmultiplier=1; 35 end 36 end 26 37 domain=expread(domainoutline,1); 27 38 28 39 figure(figurenumber),hold on 29 40 for i=1:length(domain), 30 plot(domain(i).x ,domain(i).y,linestyle);41 plot(domain(i).x*unitmultiplier,domain(i).y*unitmultiplier,linestyle); 31 42 end
Note:
See TracChangeset
for help on using the changeset viewer.