Reversing plot data to fit experimental to simualtion data

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?

回答 (1 件)

Thorsten
Thorsten 2015 年 11 月 17 日

0 投票

You can use fliplr and add some offset in y direction.
data = fliplr(data) + yoffset;

この質問は閉じられています。

製品

質問済み:

2015 年 11 月 17 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by