Jagged lines in scatter plot

조회 수: 6 (최근 30일)
Lu Maz
Lu Maz 2015년 10월 27일
답변: Lu Maz 2015년 10월 27일
See image. The edges are jagged. How can I solve this?
figure
hold all
for i = 1:50
scatter(rand(1).*10,rand(1)*10,400,[0 0 0],'linewidth',rand(1).*10)
end
hold off
axis equal
MatLab 2014b Windows 8.1 Pro AMD Radeon R7 M260

답변 (2개)

Samuel
Samuel 2015년 10월 27일
편집: Samuel 2015년 10월 27일
I don't know how (or even if) this can be done in Matlab. Once exported as a vector graphic this should disappear (e.g. eps, pdf)

Lu Maz
Lu Maz 2015년 10월 27일
I work on multiple computers. This happens on only some of them, running the same script.
So, @Samuel, I don't think this is a feature, I think it's a bug.

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by