2
$\begingroup$

I need to plot my Data with a double Log Scale on the x axis. So basically apply ListLogLinearPlot two times. Does anyone have any ideas how to do that?

$\endgroup$
1
  • $\begingroup$ You might first transpose the data such that to put Log[x] instead of x. Then apply ListLogLinearPlot. You will only need to manually take care of the ticks at the x-axis. $\endgroup$ Aug 25 at 8:29
4
$\begingroup$

Notice the details section of ScalingFunctions where it says that you can use

ScalingFunctions -> {{g, InverseFunction[g]}, {f, InverseFunction[f]}}

enter image description here

Here I'm, writing the composition Log[Log[#]]& as Log@*Log for the horizontal axis and None for the vertical axis.

Plot[
  Log[Log[x]]
  ,{x, 10, 10^7}
  ,ScalingFunctions -> {{Log@*Log, Exp@*Exp}, None}
  ,PlotTheme->"Scientific"
]

enter image description here

$\endgroup$
1
  • $\begingroup$ @Luxamba, let me know if this answers your question. Notice that ScalingFunctions works on ListPlot too. $\endgroup$
    – rhermans
    Aug 25 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.