Changeset 3118
- Timestamp:
- 02/24/10 13:19:51 (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/applyoptions.m
r3062 r3118 274 274 colorbar('off'); 275 275 end 276 277 276 278 %flag edges of a partition 277 279 if exist(options,'partitionedges') 278 280 [xsegments ysegments]=flagedges(md.elements,md.x,md.y,md.part); 279 color=getfieldvalue(options,'partitionedgescolor','k-'); 281 xsegments=xsegments*getfieldvalue(options,'unit',1); 282 ysegments=ysegments*getfieldvalue(options,'unit',1); 283 color=getfieldvalue(options,'partitionedgescolor','r-'); 284 linewidth=getfieldvalue(options,'linewidth',1); 280 285 hold on; 281 286 for i=1:length(xsegments), 282 plot(xsegments(i,:),ysegments(i,:),color );283 end 284 end 287 plot(xsegments(i,:),ysegments(i,:),color,'LineWidth',linewidth); 288 end 289 end -
issm/trunk/src/m/classes/public/plot/plot_none.m
r3071 r3118 7 7 % See also: PLOTMODEL 8 8 9 options=addfielddefault(options,'colorbar','none'); 10 options=addfielddefault(options,'axis','equal'); 11 9 12 %apply options 10 13 applyoptions(md,[],options);
Note:
See TracChangeset
for help on using the changeset viewer.