- as is (data as dots)"
Convert a 3D plot to an array?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi
I have 3 vectors (x,y,z) which i plot using the plot3 function. I get something like this:
![test.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225994/test.png)
I need to convert this to a 3D array, in 2 ways :
- as is (data as dots)
- as a line plot, ie as if i plotted the same vectors but as a line as shown below
![test2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/225995/test2.png)
How can i do this? I need a 3D variable describing the above object to manipulate after...
Any help would be appreciated!
Thank you
1 件のコメント
Adam Danz
2019 年 6 月 24 日
"I need to convert this to a 3D array, in 2 ways :
If you're already doing that, what do you need specifically?
" * as a line plot, ie as if i plotted the same vectors but as a line as shown below"
plot(x,y,z,'-')
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!