Changeset 10429


Ignore:
Timestamp:
11/02/11 11:37:56 (14 years ago)
Author:
Mathieu Morlighem
Message:

Added plot_referential.m

Location:
issm/trunk/src/m/model/plot
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/plot_BC.m

    r10129 r10429  
    77
    88%plot dirichlets
    9 h1=plot(md.mesh.x(find(~isnan(md.diagnostic.spcvx(1:md.mesh.numberofvertices,1)))),md.mesh.y(find(~isnan(md.diagnostic.spcvx(1:md.mesh.numberofvertices,1)))),'ro','MarkerSize',14,'MarkerFaceColor','r');
    10 h2=plot(md.mesh.x(find(~isnan(md.diagnostic.spcvy(1:md.mesh.numberofvertices,1)))),md.mesh.y(find(~isnan(md.diagnostic.spcvy(1:md.mesh.numberofvertices,1)))),'bo','MarkerSize',10,'MarkerFaceColor','b');
    11 h3=plot(md.mesh.x(find(~isnan(md.diagnostic.spcvz(1:md.mesh.numberofvertices,1)))),md.mesh.y(find(~isnan(md.diagnostic.spcvz(1:md.mesh.numberofvertices,1)))),'yo','MarkerSize',6 ,'MarkerFaceColor','y');
     9h1=plot3(...
     10        md.mesh.x(find(~isnan(md.diagnostic.spcvx(1:md.mesh.numberofvertices,1)))),...
     11        md.mesh.y(find(~isnan(md.diagnostic.spcvx(1:md.mesh.numberofvertices,1)))),...
     12        md.mesh.z(find(~isnan(md.diagnostic.spcvx(1:md.mesh.numberofvertices,1)))),...
     13        'ro','MarkerSize',14,'MarkerFaceColor','r');
     14h2=plot3(...
     15        md.mesh.x(find(~isnan(md.diagnostic.spcvy(1:md.mesh.numberofvertices,1)))),...
     16        md.mesh.y(find(~isnan(md.diagnostic.spcvy(1:md.mesh.numberofvertices,1)))),...
     17        md.mesh.z(find(~isnan(md.diagnostic.spcvy(1:md.mesh.numberofvertices,1)))),...
     18        'bo','MarkerSize',10,'MarkerFaceColor','b');
     19h3=plot3(...
     20        md.mesh.x(find(~isnan(md.diagnostic.spcvz(1:md.mesh.numberofvertices,1)))),...
     21        md.mesh.y(find(~isnan(md.diagnostic.spcvz(1:md.mesh.numberofvertices,1)))),...
     22        md.mesh.z(find(~isnan(md.diagnostic.spcvz(1:md.mesh.numberofvertices,1)))),...
     23        'yo','MarkerSize',6 ,'MarkerFaceColor','y');
    1224
    1325%update legend
  • issm/trunk/src/m/model/plot/plot_manager.m

    r9771 r10429  
    6565                        plot_vertexnumbering(md,options,subplotwidth,i);
    6666                        return;
    67                
    6867                case 'highlightvertices',
    6968                        plot_highlightvertices(md,options,subplotwidth,i);
     
    8786                        plot_partition(md,options,nlines,ncols,i);
    8887                        return;
     88                case 'referential',
     89                        plot_referential(md,options,nlines,ncols,i);
     90                        return;
    8991                case 'riftvel',
    9092                        plot_riftvel(md,options,nlines,ncols,i);
     
    9395                        plot_riftnumbering(md,options,nlines,ncols,i);
    9496                        return;
    95 
    9697                case 'rifts',
    9798                        plot_rifts(md,options,nlines,ncols,i);
  • issm/trunk/src/m/model/plot/plotdoc.m

    r10284 r10429  
    2626disp('                  - ''highlightvertices'': to highlight vertices (use highlight option to enter the vertex list');
    2727disp('                  - ''mesh'': draw mesh using trisurf');
     28disp('                  - ''referential'': diagnostic referential');
    2829disp('                  - ''riftvel'': velocities along rifts');
    2930disp('                  - ''riftrelvel'': relative velocities along rifts');
Note: See TracChangeset for help on using the changeset viewer.