필터 지우기
필터 지우기

Matlab scatter dots look strange

조회 수: 3 (최근 30일)
Anne
Anne 2018년 6월 18일
댓글: Anne 2018년 6월 19일
Hello, I use m_scatter (the m_map version of scatter) on Windows 10. The issue is, that my circles are not nicely filled with the corresponding value. This occurs in both m_scatter, gscatter and scatter. An example of what happens is attached to this post. Any idea where this comes from and how to solve this? Best, Anne
  댓글 수: 3
Walter Roberson
Walter Roberson 2018년 6월 18일
Did that happen on the screen, or did it only happen when you saved to pdf or saved to image?
I find it odd that the top and right axes lines are not present, as if a different software package was being used, or as if you had saved to pdf but those parts got cut off (that is known to happen sometimes for pdf)
the cyclist
the cyclist 2018년 6월 19일
@Walter, I think the 'Box' property is off by default in a scatter plot.
At least, this is true for both the first plot on the documentation page and in one test I did.

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

답변 (1개)

Anne
Anne 2018년 6월 19일
편집: Stephen23 2018년 6월 19일
Yes OCDER, that did the trick, thank you very much! The error is already visible on the screen (I zoomed in for you to make it clearer), and also in all other formats I saved it in on Windows (pdf, png, jpg). The same script on Ubuntu actually works fine, but I might have a slightly different version of Matlab there...
Cheers, Anne
  댓글 수: 2
Guillaume
Guillaume 2018년 6월 19일
Since it only happens with the default renderer (opengl) which use hardware acceleration you may want to see if updating your graphics driver helps.
Anne
Anne 2018년 6월 19일
Thanks Guillaume!

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

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by