i have 3D plot in matlab(adsbygoogle = window.adsbygoogle || []).push({});

lets say i use example isosurface from matlab help

[x,y,z,v] = flow;

p = patch(isosurface(x,y,z,v,-3));

isonormals(x,y,z,v,p)

set(p,'FaceColor','red','EdgeColor','none');

daspect([1 1 1])

view(3); axis tight

camlight

lighting gouraud

xlabel('x-axis');ylabel('y-axis');zlabel('z-axis');

but the problem is that z axis is in vertical direction, and x & y is horizontal direction. i want to interchange so that x and z is horizontal direction and y is in vertical direction. well i can manipulate data dan axis label, but i prefer to do without manipulate the data. is there anyone knows how to do it?

thanks

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to interchange Z and Y axes direction in MATLAB?

Loading...

Similar Threads - interchange axes direction | Date |
---|---|

Comparing direct and iterative solution of linear equations | Nov 8, 2016 |

Plotting with different y-axes range in Matlab | Dec 23, 2012 |

Mathematica, Table Generation & Rescaling Axes | Aug 4, 2012 |

Mathematica Axes scaling | Feb 3, 2012 |

Defining Axes in Matlab plotting | Sep 18, 2011 |

**Physics Forums - The Fusion of Science and Community**