Watch this Author's files
Unfortunately in my hands this function only seems to work for x shorter than 300 elements.
For example:
x = 1:301 color_line(x,sin(x),cos(x))
never generates a plot(i.e. the plot window never refreshes.)
For x=1:300 it works beautifully though. Is there a simply way to make it work for longer x (e.g. 2500 points).
Contact us at files@mathworks.com