How to plot stacked variables with common x-axis?

3 visualizaciones (últimos 30 días)
Yazan
Yazan el 7 de Jul. de 2021
Comentada: Yazan el 8 de Jul. de 2021
Hello everyone,
I am trying to produce a figure similar to the one attached. As you can see, for each Y, there is a function of Z, f(Z). The x-axis (or Z in the figure below) is common among all functions. The third axis, i.e., f(Z), is kind of hidden. I am aware of stackedplot, which produces a very similar visualization, but not exactly the one I'm after. Do you have other suggestions?

Respuesta aceptada

Bjorn Gustavsson
Bjorn Gustavsson el 7 de Jul. de 2021
Another option is the multiwaveplot function from the file exchange: stacked-line-plot.
HTH

Más respuestas (1)

KSSV
KSSV el 7 de Jul. de 2021
Generate all the curves, make them a matrix and use waterfall.
  1 comentario
Yazan
Yazan el 8 de Jul. de 2021
Already tried waterfall and similar Matlab functions. They don't produce exactly the visualization I'm after. The function stackedplot seems to be the closest to what I need. Thanks!

Iniciar sesión para comentar.

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by