How to plot Waterfall x-dir reversed and remove the baseline plot?

조회 수: 6 (최근 30일)
John
John 2014년 5월 29일
편집: dpb 2014년 5월 29일
On this waterfall plot, some changes would like to be done:
(1) plot x-axis in reversed order. set(h, 'XDir','reverse') doesn't work here. If used view(190,30) the Y is reversed too, which is not desired.
(2) under every curve, a baseline is added somehow by waterfall, which is not wanted. How can these baseline be removed?
(3) if possible, remove the Z-axis scale label, only keep x and y labels.
Thanks for your help.
  댓글 수: 1
dpb
dpb 2014년 5월 29일
편집: dpb 2014년 5월 29일
What doesn't "work" with 'xdir','reverse'?
Not sure about the baseline
Can fix 3) --
set('ztick',[])
One for three ain't bad... :)
ADDENDUM
waterfall is an m-file, however, so you can see what it's doing internally (and it's not at all that long, either).
I see something interesting in the comments beginning with
% Add 2 data points to the beginning and three data points at the end
% of each row for a patch. ...
There might be somewhere you can play, I don't know. That it is a series of patches makes one wonder if can get rid of the baseline, however; might have to revert to trying to build a series of line plots.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by