Can I combine two markers together, and make them overlap?

조회 수: 11 (최근 30일)
Marco Froelich
Marco Froelich 2017년 9월 22일
댓글: Marco Froelich 2017년 9월 26일
I have a number of points represented by a circle marker. These markers overlap each other, but one is always layered "above it"\"in front of it" so that one circle is seen completely while the second is hidden behind it. Can it be possible to combine them, so that the overlap is constant between both markers?
Thank you in advance!
First image shows my result. Second shows wanted result.

채택된 답변

Image Analyst
Image Analyst 2017년 9월 22일
You can set different sizes for the markers so that they don't overlap completely.
plot(x, y, 'bo', 'MarkerSize', 15); % Use blue circles of size 15
plot(x, y, 'ro', 'MarkerSize', 25); % Use red circles of size 25.
  댓글 수: 7
Walter Roberson
Walter Roberson 2017년 9월 25일
I see the images that you attached recently, which help make the situation clearer.
However, my answer is still No: as long as you are using Markers then the combining rules are out of your control, and might depend in part on the graphics driver.
The solution is: "Don't use Markers for this purpose".
Marco Froelich
Marco Froelich 2017년 9월 26일
Alright thank you, and no but I will check it out.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2017년 9월 22일
No, it is not possible.
Consider rendering into an image and using the computer vision insertMarker routine. This will not be exactly the same: in particular regular markers stay the same size as you zoom in but markers rendered into an image would scale as you zoom in.

카테고리

Help CenterFile Exchange에서 Display and Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by