I am plotting damage density map using points but the points are joining together, how do i resolve this?

1 次查看(过去 30 天)
I am plotting damage density map using points but the points are joining together, how do i resolve this?
  3 个评论
Walter Roberson
Walter Roberson 2022-8-16
What do the lines represent? That is not obvious.
The positions of the circles is not obvious either. The axes are not labeled and have no tick marks.

请先登录,再进行评论。

采纳的回答

Image Analyst
Image Analyst 2022-8-16
Instead of
plot(x, y, '.') % Plot colored dots
hold on;
plot(x, y, 'k-') % Plot black lines between the colored dots.
don't plot the lines by only plotting the dots:
plot(x, y, '.', 'MarkerSize', 30) % Plot colored dots
grid on;
  7 个评论
Walter Roberson
Walter Roberson 2022-8-18
We do not know which variable or column holds information about "the size or proportion of the weight". I am not clear whether you want to change the marker size or marker color (or both) ?
Your plotm() call is going to be drawing fixed-sized circles, all in the same color. It is not obvious why you are drawing two different kinds of circles... especially since the comments for the ci-lon says to leave that section of code alone.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by