Changeset 4682
- Timestamp:
- 07/21/10 07:44:37 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/plot_BC.m
r3247 r4682 1 1 function plot_BC(md,options,width,i,data); 2 2 3 %plot neuman 3 4 plot_pressureload(md,options,width,i,data) 4 5 5 6 hold on 6 7 8 %plot dirichlets 7 9 h1=plot(md.x(find(md.spcvelocity(:,1))),md.y(find(md.spcvelocity(:,1))),'ro','MarkerSize',14,'MarkerFaceColor','r'); 8 10 h2=plot(md.x(find(md.spcvelocity(:,2))),md.y(find(md.spcvelocity(:,2))),'bo','MarkerSize',10,'MarkerFaceColor','b'); 9 11 h3=plot(md.x(find(md.spcvelocity(:,3))),md.y(find(md.spcvelocity(:,3))),'yo','MarkerSize',6 ,'MarkerFaceColor','y'); 10 12 13 %update legend 11 14 [legend_h,object_h,plot_h,text_strings]=legend(); 15 legend('off'); 12 16 text_strings{end+1}='vx boundary'; 13 17 text_strings{end+1}='vy dirichlet'; … … 15 19 plot_h(end+1)=h1; 16 20 plot_h(end+1)=h2; 17 if h3, plot_h=[plot_h h3];end 21 if h3, plot_h(end+1)=h3; end 22 legend(plot_h,text_strings,'location','NorthEast') 18 23 19 legend(plot_h,text_strings) 24 hold off -
issm/trunk/src/m/classes/public/plot/plotdoc.m
r3547 r4682 15 15 disp(' - ''basal_dragx'' or ''basal_dragy'' : plot a component of the basal drag on the bed (in kPa)'); 16 16 disp(' - ''boundaries'': this will draw all the segment boundaries to the model, including rifts.'); 17 disp(' - ''BC'': this will draw all the boundary conditions (Dirichlet and Neumann).'); 17 18 disp(' - ''deviatoricstress_tensor'': plot the components of the deviatoric stress tensor (tauxx,tauyy,tauzz,tauxy,tauxz,tauyz) if computed'); 18 19 disp(' - ''deviatoricstress_principal'': plot the deviatoricstress tensor principal axis and principal values');
Note:
See TracChangeset
for help on using the changeset viewer.