How to make points larger on plot

조회 수: 481 (최근 30일)
Dan
Dan 2013년 5월 17일
댓글: Image Analyst 2014년 2월 10일
I am doing some plotting, however the points on the plot are far far to small to clearly see colors (data is color coded).
How can I increase the point size? After Plot is made is good too (like a properties setting)
This seems simple, however I just can't seem to figure it out.
Thanks!

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 17일
편집: Azzi Abdelmalek 2013년 5월 17일
plot(x,y,'linewidth',8)
%or
h=plot(x,y)
set(h,'linewidth',4)

추가 답변 (1개)

Image Analyst
Image Analyst 2013년 5월 17일
"Points" is not really a specific, descriptive term - it's somewhat ambiguous, which I guess is why Azzi gave a different answer than I would have given. 'Linewidth' affects the line size, which is the thickness of the line between the data points, and the line that makes up the lines that comprise of the marker. If you want to make the markers themselves bigger, use
plot(x,y,'MarkerSize', 20); % OR whatever size you want the data points.
  댓글 수: 2
ZhG
ZhG 2014년 2월 10일
plot(25, 23, 'linewidth', 15,'Color', [205 100 100]/255)
If I want to use RGB values, how can it work?
Image Analyst
Image Analyst 2014년 2월 10일
I'm not sure what you mean. You are using RGB values of 205, 100, 100.
Start a new discussion of your own and explain it better, perhaps with a screenshot attached.

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

카테고리

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