XY graph and Plot graph are differnet
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I have made XY graph on Simulink.
and I have collected x, y axis data of XY graph to workspace.
but, when I tried draw same graph with plot() function, graph was totally different.
anyone know the reason ?
Could you give some advice ?
left one is from XY graph block directly on Simulink. and right one is plot() from same data.
how Could I draw plot() graph as same with XY plot ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257600/image.jpeg)
1 Kommentar
Antworten (1)
Jesús Zambrano
am 10 Jan. 2020
Hi Minjae,
That is not possible. Make sure you select the same data in both cases. Try to plot each variable in a separate plot. You should get the same plot in both cases, as in the example shown below:
![XYgraph.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/261154/XYgraph.png)
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!