change plot colour according to the intensity of the points.

Hello to everyone, I have this plot in matlab:
This is achieved plotting point by point the end effector position. For every of this points i have a different torque value. I would like to change the color of the points according to the torque value attached to that point. Moreover I can compute the maximum torque and normalize all the torque values to the maximum one. In other words,a value between 0 and 1 is attached to the points and i want to have the point's color in function of this value.
Thanks in advance!!

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!