Changeset 25792


Ignore:
Timestamp:
12/01/20 09:27:15 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added linewidth option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plotchannels.m

    r25779 r25792  
    2222%is quiver?
    2323isquiver = (getfieldvalue(options,'quiver',0)==1);
     24linewidth = getfieldvalue(options,'linewidth',2);
    2425
    2526%define level
     
    114115for i=1:numcolors
    115116        pos=find(colorind==i);
    116         hprime=plot(md.mesh.x(myedges(:,pos)),md.mesh.y(myedges(:,pos)),'-','Color',palette(i,:),'LineWidth',2);
     117        hprime=plot(md.mesh.x(myedges(:,pos)),md.mesh.y(myedges(:,pos)),'-','Color',palette(i,:),'LineWidth',linewidth);
    117118        if i==1; hold on; end
    118119
Note: See TracChangeset for help on using the changeset viewer.