필터 지우기
필터 지우기

In "new" MATLABs, the marker in the plot is not precisely located.

조회 수: 3 (최근 30일)
B Yin
B Yin 2017년 6월 1일
댓글: Huina Mao 2017년 6월 1일
Dear all,
It seems that MATLAB updated the plot part since 2014. But I find some problems in the plot in these "new" MATLABs.
Problem 1, the circle is not an exact circle, but a polygon. Fortunately, this problem has been solved in the latest 2017a.
Problem 2, the marker is not precisely located at the data point. Attached are a simple test script and the results from 2013b, 2016a and 2017a. In the plot generated by 2016a and 2017a, if we look at the first point, the circles are not located at x=1 precisely. And this problem doesn't exit in the old 2013b.
Any thought and solution about this?
Best,
Binglun
  댓글 수: 5
Stephen23
Stephen23 2017년 6월 1일
편집: Stephen23 2017년 6월 1일
2013: the circle is centered on the center of the axis line
2017: the circle seems to be centered on the LHS of the axis line. The red line also seems to be aligned to its top edge, not to the center of the line.
Huina Mao
Huina Mao 2017년 6월 1일
I think it is a bug from version 2014. I suggest you to contact mathworks directly.

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

답변 (1개)

Jan
Jan 2017년 6월 1일
Does the problem concern the display on the screen or the export to vector graphics? Perhaps this helps: https://www.mathworks.com/matlabcentral/answers/328478-misplaced-line-markers-after-saving-as-eps-pdf .
  댓글 수: 5
Adam
Adam 2017년 6월 1일
If I zoom in a long way it isn't, but I can't tell at the standard zoom.
Stephen23
Stephen23 2017년 6월 1일
I agree with B Yin: the circles are offset to the left by about the width of a grid line. The earlier versions do not show this: the circles are centered.

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

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by