Moving x point to compare

1 visualización (últimos 30 días)
Ase U
Ase U el 26 de Mayo de 2018
Editada: Ase U el 18 de Ag. de 2018
Hi everybody,
i have a small problem, maybe they can help me and i would be appreciate that.
I have two different brake-pressure data but my time was different measured (so x-axes). I want to move my green graph move left, so like above blau one, then i can compare it. Do you have solution for me? Thank you already.
  1 comentario
Ameer Hamza
Ameer Hamza el 26 de Mayo de 2018
You can move your data to the left removing the elements from the beginning of the y vectors, or changing the values in the x vector. Unless you can share your data, it is difficult to suggest an exact solution.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 26 de Mayo de 2018
Use the same x axis for both
plot(Time, Bremsdruck_Rad_HL, 'b-', 'LineWidth', 2);
hold on;
plot(Time, cm.CAN_RB2_BREMSDRUCK_RAD_BRP_WHL_RLH.data, 'r-', 'LineWidth', 2);
grid on;

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by