Changeset 19203
- Timestamp:
- 03/17/15 15:51:57 (10 years ago)
- Location:
- issm/trunk-jpl/src/m/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_BC.m
r18157 r19203 2 2 3 3 %plot neuman 4 plot_icefront(md,options,width,i,data) 4 h0 = plot_icefront(md,options,width,i,data); 5 5 6 6 hold on … … 28 28 end 29 29 30 %update legend 31 [legend_h,object_h,plot_h,text_strings]=legend(); 32 legend('off'); 33 if strcmpi(dirichleton,'on'), 34 text_strings{end+1}='vx Dirichlet'; 35 text_strings{end+1}='vy Dirichlet'; 36 if h3, text_strings{end+1}='vz Dirichlet'; end 37 plot_h(end+1)=h1; 38 plot_h(end+1)=h2; 39 if h3, plot_h(end+1)=h3; end 40 end 41 legend(plot_h,text_strings,'location','NorthEast') 30 strings = {'Neumann'}; 31 if ~isempty(h1), strings{end+1} = 'vx Dirichlet'; end 32 if ~isempty(h2), strings{end+1} = 'vy Dirichlet'; end 33 if ~isempty(h3), strings{end+1} = 'vz Dirichlet'; end 34 35 legend([h0,h1,h2,h3],strings,'location','NorthEast'); 42 36 43 37 hold off -
issm/trunk-jpl/src/m/plot/plot_icefront.m
r17687 r19203 1 function plot_icefront(md,options,width,i,data)1 function h2 = plot_icefront(md,options,width,i,data) 2 2 %PLOT_ICEFRONT - plot segment on neumann BC 3 3 %
Note:
See TracChangeset
for help on using the changeset viewer.