Plot, marker, setting appearance
조회 수: 3 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151880/image.png)
Hi, there is anyway to set the Marker appearance such that it will not appeat too often. For example I would like that my marker should appear as in case of data2 not as in case of data1.
Thank you
댓글 수: 0
채택된 답변
bio lim
2015년 7월 7일
편집: bio lim
2015년 7월 7일
The number of markers depend on number of data points you have in. However, you can plot a subset of your data1 (Plot the data1 as a line first, then plot the sample points of your data1) to decrease the number of markers.
plot(data1, '-b');
hold on;
plot(data1(1:5:end), '>b')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!