![]() ![]() My point is that for each line i am plotting, i want it to be colored according to a third variable ( that is the velocity of that line), the index of the lines and variables is not a problem, i just need a function in matlab that takes the color from a matrix different than the one used to plot(3rd variable). ![]() Matlab 2d plot with colors from 3rd variable The hsv colormap starts with red in the center, then passes through yellow, green, cyan, blue, and magenta before returning to red at the outside end of the spiral. Matlab 2d plot with colors from 3rd variable
0 Comments
Leave a Reply. |