Reverse axis for 3d matlab

I am plotting some 3d graphs in matlab and converting them to plotly graphs. For one of them i need to flip the z axis so the values go in descending order. This is how it is orignally in the matlab graph but plotly reverses the order.

I tried using autorange = ‘reversed’ on the z axis but it didn’t seem to do anything.

Thanks for the help!

It is not possible to reverse the axes of 3d plots at the moment (http://community.plotly.com/t/reverse-z-axis-values/1817)