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?

Answers (1)

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

This question is closed.

Products

Asked:

on 17 Nov 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!