Marker Face Colour according to colourbar
1 view (last 30 days)
Show older comments
Hi there
I wish to plot markers on a 2D plot but have the 'MarkerFaceColor' change according to another matrix of values.
E.g. I'm plotting the drag coefficient on the y-axis and want to have the markers colour change according to the initial velocity of dart.
Any idea of how I can achieve that?
Thanks in advance
3 Comments
Turlough Hughes
on 13 Oct 2019
change according to another matrix of values - What is this matrix? Is it a colormap or some other parameter from your experiment/cfd? What size is the matrix?
Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!