Connect points using lines whose colors is stored in an array

I have an Nx2 matrix that I want to plot with each row corresponding to one point. Now, the color of lines joining the points must be chosen from an (N-1)x1 matrix. Please let me know how I can do this.

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by