How can I create 3D plots using logarithmic axes in MATLAB 7.6 (R2008a)?

23 views (last 30 days)
I know the MATLAB functions SEMILOGX, SEMILOGY and LOGLOG for creating 2D plots with logarithmic axes.
Now I want to create logarithmic 3D plots, however I can not find an appropriate plot function in MATLAB.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
You can set axis scaling to linear or logarithmic using the XScale property (respectively: YScale, ZScale):
surf(peaks);
set(gca,'XScale','log')
For further details about Axes Properties refer to the installed documentation:
docsearch('axes properties')

More Answers (0)

Categories

Find more on Discrete Data Plots in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!