How to combine two plots into one

4 visualizaciones (últimos 30 días)
SS
SS el 24 de Ag. de 2019
Comentada: Star Strider el 26 de Ag. de 2019
I am using MATLAB R2018 b. I have two plots with same x but, the limits of y axes are different. Both plots has a line and some data points (different color of the line and shape of the markers). These two plots are output from two different scripts. I want to combine these two plots to compare my results.
I am unable to use the dock figure option which was suggested for one such similar questions in the community.
Any help would be appreciated.

Respuesta aceptada

Star Strider
Star Strider el 24 de Ag. de 2019
Plot both data series on the same axes either in the same plot call, or use the hold function with two plot calls.
  14 comentarios
SS
SS el 26 de Ag. de 2019
Thanks.
Star Strider
Star Strider el 26 de Ag. de 2019
As always, my pleasure.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Performance 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