MATLAB Answers

0

Marker Face Colour according to colourbar

Asked by Christo van Rensburg on 13 Oct 2019
Latest activity Commented on by Christo van Rensburg on 13 Oct 2019
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

darova
on 13 Oct 2019
for loop?
patch?
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?
Hi Turlough
I got some help and it works, but thanks for your interest.

Sign in to comment.

0 Answers