Orientation of axes to a best-fit plane
2 次查看(过去 30 天)
显示 更早的评论
I had .xyz data. I fiited the data to a best-fit plane. Now I want to rotate the axes such that the best-fit plane lies on xy plane (z=0). Is there any way i can do it ?
1 个评论
Mathieu NOE
2023-7-20
why not simply retrieve the z data of your fit plane to the z data of your experimental data ?
you may need to interpolate the plane z coordinates to the x,y experimental data coordinates
回答(1 个)
Pranjal Saxena
2023-7-25
Hi Animesh,
I understand that you want to rotate the axes such that this best-fit plane lies on xy plane (z=0).
I would like to suggest you use “rotate” to rotate the best-fit plane accordingly.
You can refer to the following MATLAB Documentation for more information about how to rotate object about specified origin and direction:
I hope this helps you.
Warm Regards,
Pranjal.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!