source: issm/oecreview/Archive/24684-25833/ISSM-25791-25792.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 758 bytes
RevLine 
[25834]1Index: ../trunk-jpl/src/m/plot/plotchannels.m
2===================================================================
3--- ../trunk-jpl/src/m/plot/plotchannels.m (revision 25791)
4+++ ../trunk-jpl/src/m/plot/plotchannels.m (revision 25792)
5@@ -21,6 +21,7 @@
6
7 %is quiver?
8 isquiver = (getfieldvalue(options,'quiver',0)==1);
9+linewidth = getfieldvalue(options,'linewidth',2);
10
11 %define level
12 if isquiver
13@@ -113,7 +114,7 @@
14 %Loop over all levels and plot
15 for i=1:numcolors
16 pos=find(colorind==i);
17- hprime=plot(md.mesh.x(myedges(:,pos)),md.mesh.y(myedges(:,pos)),'-','Color',palette(i,:),'LineWidth',2);
18+ hprime=plot(md.mesh.x(myedges(:,pos)),md.mesh.y(myedges(:,pos)),'-','Color',palette(i,:),'LineWidth',linewidth);
19 if i==1; hold on; end
20
21 if isquiver
Note: See TracBrowser for help on using the repository browser.