0
$\begingroup$

I have this graph

enter image description here

Which is f[a] with a range {a,0.0001,1} and an arbitrary initial condition f[0.0001]==1]

I want to transform this plot into LogLogPlot and show in the new log plot the gridlines, espically the first one at ~ 0.0024 which is not clear on the current plot scale.

So what I did is changing the range of a , such that {Log[a], Log[0.0001],Log$[1]$}, or LogLogPlot with {a,-9,0} , but this gives errors : Limiting value $ I \pi$ + Log[9]……

Any help to reproduce an appropriate LogLogPlot covers all the range of a.

$\endgroup$
1
  • 2
    $\begingroup$ Please post the Mathematica code,not only the picture. $\endgroup$
    – cvgmt
    Jun 10 at 10:26

1 Answer 1

4
$\begingroup$

Keep the GridLines unchanged:

Plot[  7  10^6 Exp[-a 5], {a, 0, 1}, GridLines ->{{.0024, .6}, None}] 

enter image description here

LogLogPlot[   7  10^6  Exp[-a 5], {a, 0, 1},GridLines -> {{.0024, .6}, None}]

enter image description here

$\endgroup$
2
  • $\begingroup$ Thanks for the answer. But let me get the scales on the Log a axis. Now the grid line at 0.6 becomes at 0.51, to get the value of a, as I know in the natural logarithmic plot, I take Exp[0.51] which is 1.665 not 0.6! $\endgroup$
    – Dr. phy
    Jun 10 at 15:11
  • $\begingroup$ Isn't Log[.6]==-.51 negative? $\endgroup$ Jun 12 at 15:14

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.