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

1 view (last 30 days)
I am plotting damage density map using points but the points are joining together, how do i resolve this?
  3 Comments
Walter Roberson
Walter Roberson on 16 Aug 2022
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.

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 16 Aug 2022
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 Comments
Walter Roberson
Walter Roberson on 18 Aug 2022
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!