Changeset 13828
- Timestamp:
- 10/25/12 11:22:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_riftrelvel.m
r13730 r13828 94 94 segments=md.rifts.riftstruct(i).segments(:,1:2); 95 95 end 96 97 faulttitle=getfieldvalue(options','faulttitle','faults'); 98 rifttitle=getfieldvalue(options','rifttitle','rifts'); 96 99 %legend 97 100 if strcmpi(getfieldvalue(options,'legend','on'),'on'), 98 101 if isp1 & isp2 99 l=legend([h1,h2,p1,p2],'mesh boundaries','crack tips', 'faults','rifts');102 l=legend([h1,h2,p1,p2],'mesh boundaries','crack tips',faulttitle,rifttitle); 100 103 elseif isp1 101 l=legend([h1,h2,p1],'mesh boundaries','crack tips', 'faults');104 l=legend([h1,h2,p1],'mesh boundaries','crack tips',faulttitle); 102 105 elseif isp2 103 l=legend([h1,h2,p2],'mesh boundaries','crack tips', 'rifts');106 l=legend([h1,h2,p2],'mesh boundaries','crack tips',rifttitle); 104 107 else 105 108 l=legend([h1,h2],'mesh boundaries','crack tips');
Note:
See TracChangeset
for help on using the changeset viewer.