Changeset 9771


Ignore:
Timestamp:
09/12/11 10:44:05 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed vertexnumbering

Location:
issm/trunk/src/m/model/plot
Files:
2 edited
2 moved

Legend:

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

    r9768 r9771  
    1 function plot_highlightnodes(md,options,width,i);
    2 %PLOT_HIGHLIGHTGRIDS - plot selected nodes
     1function plot_highlightvertices(md,options,width,i);
     2%PLOT_HIGHLIGHTVERTICES - plot selected vertices
    33%
    44%   Usage:
    5 %      plot_highlightnodes(md,options,width,i);
     5%      plot_highlightvertices(md,options,width,i);
    66%
    77%   See also: PLOTMODEL
     
    4040%apply options
    4141if ~exist(options,'highlight')
    42         disp('highlightnodes warning : highlight option empty, not node highlighted');
     42        disp('highlightvertices warning : highlight option empty, not node highlighted');
    4343end
    4444options=addfielddefault(options,'title','Highlighted Nodes');
  • issm/trunk/src/m/model/plot/plot_manager.m

    r9684 r9771  
    6262                        plot_elementstype(md,options,subplotwidth,i);
    6363                        return;
    64                 case 'nodenumbering',
    65                         plot_nodenumbering(md,options,subplotwidth,i);
     64                case 'vertexnumbering',
     65                        plot_vertexnumbering(md,options,subplotwidth,i);
    6666                        return;
    6767               
    68                 case 'highlightnodes',
    69                         plot_highlightnodes(md,options,subplotwidth,i);
     68                case 'highlightvertices',
     69                        plot_highlightvertices(md,options,subplotwidth,i);
    7070                        return;
    7171                case {'basal_drag','basal_dragx','basal_dragy'},
  • issm/trunk/src/m/model/plot/plot_vertexnumbering.m

    r9768 r9771  
    1 function plot_nodenumbering(md,options,width,i);
    2 %PLOT_GRIDNUMBERING - plot node numbering
     1function plot_vertexnumbering(md,options,width,i);
     2%PLOT_VERTEXNUMBERING - plot vertex numbering
    33%
    44%   Usage:
    5 %      plot_nodenumbering(md,options,width,i);
     5%      plot_vertexnumbering(md,options,width,i);
    66%
    77%   See also: PLOTMODEL
     
    99%process data and model
    1010[x y z elements is2d isplanet]=processmesh(md,[],options);
    11 [nodenumbers datatype]=processdata(md,[1:md.mesh.numberofvertices]',options);
     11[vertexnumbers datatype]=processdata(md,[1:md.mesh.numberofvertices]',options);
    1212
    1313%plot
  • issm/trunk/src/m/model/plot/plotdoc.m

    r9684 r9771  
    2222disp('                  - ''elements_type'': model used for each element');
    2323disp('                  - ''elementnumbering'': numbering of elements');
    24 disp('                  - ''nodenumbering'': numbering of nodes');
     24disp('                  - ''vertexnumbering'': numbering of vertices');
    2525disp('                  - ''highlightelements'': to highlight elements to highlight the element list');
    26 disp('                  - ''highlightnodes'': to highlight nodes (use highlight option to enter the node list');
     26disp('                  - ''highlightvertices'': to highlight vertices (use highlight option to enter the vertex list');
    2727disp('                  - ''mesh'': draw mesh using trisurf');
    2828disp('                  - ''riftvel'': velocities along rifts');
Note: See TracChangeset for help on using the changeset viewer.