Changeset 5818
- Timestamp:
- 09/15/10 08:41:34 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public/plot
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/plot_manager.m
r5616 r5818 32 32 case 'highlightelements', 33 33 plot_highlightelements(md,options,subplotwidth,i); 34 return;35 case 'segmentnumbering',36 plot_segmentnumbering(md,options,subplotwidth,i);37 34 return; 38 35 case 'qmuhistnorm', -
issm/trunk/src/m/classes/public/plot/plot_segments.m
r5815 r5818 25 25 h2=patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','green','EdgeColor','black'); 26 26 27 text(sum(x(segments(:,1:2)),2)/2,sum(y(segments(:,1:2)),2)/2,sum(z(segments(:,1:2)),2)/2+1,... 28 num2str(md.segmentmarkers),... 29 'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle'); 27 if strcmpi(getfieldvalue(options,'segmentnumbering','off'),'on'), 28 text(sum(x(segments(:,1:2)),2)/2,sum(y(segments(:,1:2)),2)/2,sum(z(segments(:,1:2)),2)/2+1,... 29 num2str(md.segmentmarkers),... 30 'backgroundcolor',[0.8 0.9 0.8],'HorizontalAlignment','center','VerticalAlignment','middle'); 31 end 30 32 31 33 %display arrows pointing outward -
issm/trunk/src/m/classes/public/plot/plotdoc.m
r5527 r5818 23 23 disp(' - ''elementnumbering'': numbering of elements'); 24 24 disp(' - ''gridnumbering'': numbering of grids'); 25 disp(' - ''segmentnumbering'': numbering of segments');26 25 disp(' - ''highlightelements'': to highlight elements to highlight the element list'); 27 26 disp(' - ''highlightgrids'': to highlight grids (use highlight option to enter the grid list'); … … 138 137 disp(' ''cdfplt'': (char, ''off'' to turn off cdf line plots)'); 139 138 disp(' ''cdfleg'': (char, ''off'' to turn off cdf legends)'); 139 disp(' ''segmentnumbering'': (''off'' by default)'); 140 140 disp(' any options (except ''data'') can be followed by ''#i'' where ''i'' is the subplot number, or ''#all'' if applied to all plots'); 141 141 disp(' ');
Note:
See TracChangeset
for help on using the changeset viewer.