Logarithmic 3D plot in Mathematica

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 10K views
Inge_k
Messages
2
Reaction score
0
Hi all,

Does anyone know how to get Mathematica make a 3D plot with logarithmic axes? I need a, say, 3D version of LogLogPlot.

I have a 3D function Rdb[nf, pf] which I want to plot for {nf, 10^10,10^18} and {pf, 10^10,10^18}. I can get cross sections of what I need when I do
LogLogPlot[Rdb[nf, pf], {nf, 10^10, 10^18}]
for random values of pf. Now I need to sort of glue these together for a continuous pf from 10^10 to 10^18 and thus get a 3D plot, if you see what I mean.

Any ideas how do to this?

Thanks in advance,
Inge
 
Physics news on Phys.org
Sorry, already found it!

Really, I thought about this for hours and searched the web and all, but just five minutes after I posted the above I realized the solution...

Which is

Plot3D[Log[10, Rdb[10^nf, 10^pf]] , {pf, 10, 18}, {nf, 10, 18}]

Of course... Gives me a lovely plot. Sorry for the spamming, thread can be closed again...