필터 지우기
필터 지우기

a question about plot

조회 수: 1 (최근 30일)
Bo Wang
Bo Wang 2016년 2월 12일
답변: Image Analyst 2016년 2월 12일
Hey, I am new to Matlab. How can I generate a capital letter "F" in a plot? Thank you!

답변 (2개)

Star Strider
Star Strider 2016년 2월 12일
Try this:
figure(1)
plot([1 2], [3 3],'k')
hold on
plot([1 1], [1 3],'k')
plot([1 1.7], [2 2],'k')
hold off
axis([0 4 0 4])

Image Analyst
Image Analyst 2016년 2월 12일
Use text():
% Plot some data, or whatever...
plot(0:4, 'b*-')
% Put a big F on the plot
text(2, 3, 'F', 'FontSize', 30, 'Color', 'r', 'FontWeight', 'bold');

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by