Info

この質問は閉じられています。 編集または回答するには再度開いてください。

problem about plot 'x =2'

3 ビュー (過去 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