How to reverse the Y axis direction in a parallel plot?

3 views (last 30 days)
Hi all,
I have plotted a parallel plot in Matlab. But I want to reverse the direction (means min value at the top and maximum at the bottom) of a particular Y-axis in that plot? Is it possible?

Answers (2)

KSSV
KSSV on 8 Apr 2022
figure(1)
plot(rand(1,10))
figure(2)
plot(rand(1,10))
set(gca, 'YDir','reverse')

Deepthi B
Deepthi B on 8 Apr 2022
Actually, I have to change the axis direction in this plot.
  1 Comment
KSSV
KSSV on 8 Apr 2022
Then I guess you need to see how the plot is plotted and change while plotting it.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!