How to plot with different colours?
Show older comments
Hello. I am trying to plot with different colours (2D plot). I have an index 1 : 46, and for each array, I want a different colour.
Thanks.
figure
hold on
for ind=1 : 46,
plot(plane_des2(ind).Altitude, plane_des2(ind).IAS,'.');
xlabel('Horizontal Displacement');
ylabel('Unfiltered Airpseed');
title('Airpseed vs Displacement')
end
hold off
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!