Is there a way to shift the data upwards automatically?
7 views (last 30 days)
I have a graph as follows. I am looking to shift the valley (red) upwards to be in keeping with the preceeding data. Is there a way to do this automatically? I am unaware of the best method of achieving this currently.
I've attached a copy of the data for reference.
the cyclist on 14 Jun 2021
Edited: the cyclist on 14 Jun 2021
I tried plotting Height vs. Temperature, since that is what your plot shows. But my graph looks completely different from yours.
r = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/652735/Results.xls','Sheet','Test Piece 1-BS 1');
Perhaps make it easier for us to help you, by only uploading the two variables you are plotting above, in a MAT file?
EDIT (in response to comment):
I've uploaded the new data file. Also, this whole thing should have been a comment rather than an answer. But I'll leave it here.