can someone please explain me how to plot this fourth x4,y4 line in this graph?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Kaluachchi Gedara Saumya Bandara
el 30 de Nov. de 2021
Respondida: KSSV
el 30 de Nov. de 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/818449/image.jpeg)
can someone please explain me how to plot this fourth x4,y4 line in this graph? i want to plot the graph where the end points thses lines touch x and y axis respectively.
x1=[0.8043 0];
y1=[0 0.0789];
plot(x1,y1,'k')
hold on
x2=[0.8407 0];
y2=[0 0.0825];
plot(x2,y2,'r')
hold on
x3=[0.8426 0];
y3=[0 0.0826];
plot(x3,y3,'y')
x4=[0.1 0];
y4=[0 -0.1];
plot(x4,y4,'g')
xlim([0,0.9])
ylim([0,0.1])
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!