필터 지우기
필터 지우기

Marker Face Colour according to colourbar

조회 수: 1 (최근 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 CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by