Problem with semilog/loglog command.Kindly help.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Asawari
am 18 Okt. 2013
Kommentiert: Walter Roberson
am 18 Okt. 2013
Hi everyone, I am trying to create a 3D plot using mesh command.Out of the 3axes only one is on a semilog/log scale while the other two are usual linear scales.Mesh command requires the vectors to have same dimensions whereas semilog command or even loglog command for that matter is giving me a scalar value with unity dimension so I cannot use this command with mesh command.Can anyone suggest me some wayout?Is there any other command for plotting a row matrix in log/semilog scale?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 18 Okt. 2013
Create your mesh with linear scales. Then
set(gca, 'ZScale', 'log'); %use XScale or YScale if appropriate
Note: OpenGL plots cannot have log scales, so if you need both transparency and log plots, you will have problems.
2 Kommentare
Walter Roberson
am 18 Okt. 2013
I suspect I am missing something? Why not call mesh(Y,X,Z) in that case?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!