plot discontinuous x axis

4 visualizaciones (últimos 30 días)
Oliver Adams
Oliver Adams el 26 de Feb. de 2021
Comentada: Oliver Adams el 26 de Feb. de 2021
I have written code to plot the recovery creep curve for loading of a sample of bone, image 1 shows comparative data between 2 samples.
image 2 shows a single sample, with the cyclic loading data overlayed to assist with understanding.
As can be seen in image 1, not all samples are loaded for the same length of time, however they are all loaded for an equal number of 30 cycles.
I am looking for a way to plot strain against number of cycles, so all sample plots finish at the same point, regardless of loading time.
I have vectors for the values and indeces of the minimum points of each cycle (image 2), but I can't figure out how to 'scale' the x-axis.
Many thanks in advance.

Respuestas (1)

dpb
dpb el 26 de Feb. de 2021
Divide the time vector by T(end) for each trace and then plot versus the normalized time [0 1] instead...
  1 comentario
Oliver Adams
Oliver Adams el 26 de Feb. de 2021
i'll give this a go, thank you!

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by