Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem about plot 'x =2'

조회 수: 1 (최근 30일)
pty0220
pty0220 2016년 4월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
I have 2 question about plot
One . I want to draw a plot 'X = 2' just straight line like picture
Two .And I want to use fullcrosshair mouse style but I realized it can't use anymore in R2015a So have any function or know about similar mouse style Plz tell me ,,,
  댓글 수: 4
KSSV
KSSV 2016년 4월 1일
Image Analyst
Image Analyst 2016년 4월 1일
ginput() will give those, and they move with the mouse. If you want non-moving, static lines, use the line() function.

답변 (1개)

Julian Hapke
Julian Hapke 2016년 4월 4일
for Q1:
figure;plot([2 2],[-1000 1000],'r')

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by