3D plot making smooth
44 ビュー (過去 30 日間)
古いコメントを表示
Dear friends, I have plotted a 3D figure using a matrix elements. I mean the matrix row and column are 'X' and 'Y' and the value of each element is 'Z' axis. The value of elements (Z axis) that are beside each other are close enough but since the 3D curve is discrete, the plot is not very clear. How can I convert it to a smooth plot? Is there any way or command to make it smooth? I can not increase the number of elements in the matrix due to limitations.
0 件のコメント
回答 (2 件)
Jacob Halbrooks
2012 年 3 月 12 日
It might be helpful to see a code example of what you have tried. Have you tried using SURF to create a surface plot from your data? With a SURF plot, you can use SHADING to control the color shading of your plot. For example, this produces a fairly smooth looking plot of 3D data:
surf(peaks)
shading interp
0 件のコメント
Stephen
2012 年 3 月 12 日
you can maybe use a cubic polynomial spline to fit your curve and then upsample it to get more points, then plot those. I don't know what you're working with though.
4 件のコメント
Rey Kelvin Peralta
2015 年 7 月 26 日
編集済み: Rey Kelvin Peralta
2015 年 7 月 26 日
i did not receive any notification sir. where is it?
no responses in my link sir http://www.mathworks.com/matlabcentral/answers/231216-can-anybody-help-me-smoothen-out-the-edges-on-my-3d-plot
参考
カテゴリ
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!