MATLAB: Colormap on a line??

colormap on a line???

Is there any way to apply colormap on a line object, something like.
line(X,Y) colormap(cool)
Cheers

Best Answer

no you can't, but this answer might help