Marker Face Colour according to colourbar

2 ビュー (過去 30 日間)
Christo van Rensburg
Christo van Rensburg 2019 年 10 月 13 日
コメント済み: Christo van Rensburg 2019 年 10 月 13 日
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 件のコメント
Turlough Hughes
Turlough Hughes 2019 年 10 月 13 日
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?
Christo van Rensburg
Christo van Rensburg 2019 年 10 月 13 日
Hi Turlough
I got some help and it works, but thanks for your interest.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by