I have used the code below to plot a stacked plot,
X = [4 3 2 1];
x = X';
Y = [2 3 4 5; 3 4 5 6];
y = Y';
The returned plot has a x-direction from min value to max value, how can I modify the code to make it from max to min as the X data presented?