Changeset 4682


Ignore:
Timestamp:
07/21/10 07:44:37 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor

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  
    11function plot_BC(md,options,width,i,data);
    22
     3%plot neuman
    34plot_pressureload(md,options,width,i,data)
    45
    56hold on
    67
     8%plot dirichlets
    79h1=plot(md.x(find(md.spcvelocity(:,1))),md.y(find(md.spcvelocity(:,1))),'ro','MarkerSize',14,'MarkerFaceColor','r');
    810h2=plot(md.x(find(md.spcvelocity(:,2))),md.y(find(md.spcvelocity(:,2))),'bo','MarkerSize',10,'MarkerFaceColor','b');
    911h3=plot(md.x(find(md.spcvelocity(:,3))),md.y(find(md.spcvelocity(:,3))),'yo','MarkerSize',6 ,'MarkerFaceColor','y');
    1012
     13%update legend
    1114[legend_h,object_h,plot_h,text_strings]=legend();
     15legend('off');
    1216text_strings{end+1}='vx boundary';
    1317text_strings{end+1}='vy dirichlet';
     
    1519plot_h(end+1)=h1;
    1620plot_h(end+1)=h2;
    17 if h3, plot_h=[plot_h h3];end
     21if h3, plot_h(end+1)=h3; end
     22legend(plot_h,text_strings,'location','NorthEast')
    1823
    19 legend(plot_h,text_strings)
     24hold off
  • issm/trunk/src/m/classes/public/plot/plotdoc.m

    r3547 r4682  
    1515disp('                  - ''basal_dragx'' or ''basal_dragy'' : plot a component of the basal drag on the bed (in kPa)');
    1616disp('                  - ''boundaries'': this will draw all the segment boundaries to the model, including rifts.');
     17disp('                  - ''BC'': this will draw all the boundary conditions (Dirichlet and Neumann).');
    1718disp('                  - ''deviatoricstress_tensor'': plot the components of the deviatoric stress tensor (tauxx,tauyy,tauzz,tauxy,tauxz,tauyz) if computed');
    1819disp('                  - ''deviatoricstress_principal'': plot the deviatoricstress tensor principal axis and principal values');
Note: See TracChangeset for help on using the changeset viewer.