How to plot stacked variables with common x-axis?

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?

 채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2021년 7월 7일

0 개 추천

Another option is the multiwaveplot function from the file exchange: stacked-line-plot.
HTH

추가 답변 (1개)

KSSV
KSSV 2021년 7월 7일

0 개 추천

Generate all the curves, make them a matrix and use waterfall.

댓글 수: 1

Yazan
Yazan 2021년 7월 8일
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!

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2021년 7월 7일

댓글:

2021년 7월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by