Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

problem about plot 'x =2'

1 visualización (últimos 30 días)
pty0220
pty0220 el 1 de Abr. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
KSSV
KSSV el 1 de Abr. de 2016
Image Analyst
Image Analyst el 1 de Abr. de 2016
ginput() will give those, and they move with the mouse. If you want non-moving, static lines, use the line() function.

Respuestas (1)

Julian Hapke
Julian Hapke el 4 de Abr. de 2016
for Q1:
figure;plot([2 2],[-1000 1000],'r')

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by