XY graph and Plot graph are differnet

1 visualizzazione (ultimi 30 giorni)
Minjae Yoo
Minjae Yoo il 30 Dic 2019
Risposto: Jesús Zambrano il 10 Gen 2020
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 ?
  1 Commento
darova
darova il 30 Dic 2019
Looks like you collected wrong data. Can you attach the script?

Accedi per commentare.

Risposte (1)

Jesús Zambrano
Jesús Zambrano il 10 Gen 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

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by