Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Reversing plot data to fit experimental to simualtion data

1 vue (au cours des 30 derniers jours)
Hendrik Lorenz
Hendrik Lorenz le 17 Nov 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
I am plotting two graphs as shown in the pic, but one is drawn with an inversed x-coordinate system. I guess it's pretty clear from the image what I want to do. Is there a possibility to match both?

Réponses (1)

Thorsten
Thorsten le 17 Nov 2015
You can use fliplr and add some offset in y direction.
data = fliplr(data) + yoffset;

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by