Logarithmic 3D plot in Mathematica

Click For Summary
SUMMARY

The discussion centers on creating a 3D plot with logarithmic axes in Mathematica, specifically using the function Rdb[nf, pf]. The user initially sought a method similar to LogLogPlot but later discovered the solution. The correct approach involves using the command Plot3D[Log[10, Rdb[10^nf, 10^pf]], {pf, 10, 18}, {nf, 10, 18}], which successfully generates the desired 3D plot.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of logarithmic scaling in data visualization
  • Knowledge of 3D plotting techniques in Mathematica
  • Basic understanding of the function Rdb[nf, pf]
NEXT STEPS
  • Explore advanced 3D plotting options in Mathematica
  • Learn about customizing axes in Mathematica plots
  • Investigate the use of LogLogPlot for 2D data visualization
  • Study the implications of logarithmic transformations in data analysis
USEFUL FOR

Mathematica users, data scientists, and researchers interested in advanced data visualization techniques, particularly those working with logarithmic scales in 3D plots.

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...
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 4 ·
Replies
4
Views
3K