Skip to content

Commit

Permalink
Add variable line width to ES drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
crcollins committed Jun 25, 2013
1 parent 2bba865 commit c64b890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @Decompose/drawES.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function drawES(obj,figNum,width,xoffset)
t1 = m.Ecomp{i}{ic};
if (t1.amp.^2 > 0.2)
hold on;
plot([x+t*spacing2 x+t*spacing2],[m.Eorb(t1.filled) m.Eorb(t1.empty)],'r-');
plot([x+t*spacing2 x+t*spacing2],[m.Eorb(t1.filled) m.Eorb(t1.empty)],'r-','lineWidth',10*t1.amp.^2);
t = t + 1;
end
end
Expand Down

0 comments on commit c64b890

Please sign in to comment.