How to change the axis to another axis in scattered plot

2 ビュー (過去 30 日間)
Raj Arora
Raj Arora 2023 年 2 月 28 日
回答済み: Amith 2023 年 3 月 1 日
I have plotted a 3d scatter plot, I want to change one of its axis to some other direction. How to do that.
For better understanding of the above doubt. I have also attached an image. Can anyone suggest me this.

回答 (1 件)

Amith
Amith 2023 年 3 月 1 日
As per my understanding you want to change the direction of one of the axis. Here to change the direction or viewpoint of the plot `view` function can be used.
You can use the above documentation to learn about the function.
An example -
view(90,0)
=> this function plots using an azimuth of 90 degrees and an elevation of 0 degrees. The new line of sight is along the x-axis.

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by