problem about plot 'x =2'
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 1 Avr 2016
I don't understand "fullcrosshair mouse style". What is that? Don't you just want the plot exactly as you've shown it? There is no crosshairs or cursor on that plot.
pty0220
le 1 Avr 2016
KSSV
le 1 Avr 2016
Image Analyst
le 1 Avr 2016
ginput() will give those, and they move with the mouse. If you want non-moving, static lines, use the line() function.
Réponses (1)
Julian Hapke
le 4 Avr 2016
for Q1:
figure;plot([2 2],[-1000 1000],'r')
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
