I am trying to make 2 log log plots. One with each equation, a and g. I don't know why, but the plot is not showing up. My notebook is in the link below.


What am I doing wrong here?

New contributor
QuaffyWaffles is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • $\begingroup$ You can't plot imaginary numbers on a real number line - try removing the i in your functions. $\endgroup$ – Tomi Feb 22 at 23:17
  • $\begingroup$ Please post your code. $\endgroup$ – cvgmt Feb 23 at 0:09
a[f_] := 25000/(1 + (I*f)/200)

ReImPlot[a[f], {f, 0.1, 10000}, PlotRange -> All,
 ScalingFunctions -> {"Log", None},
 PlotLegends -> Placed[Automatic, {.35, .6}]]

enter image description here

LogLogPlot[Abs[a[f]], {f, 0.1, 10000}, PlotRange -> All]

enter image description here


Your Answer

QuaffyWaffles is a new contributor. Be nice, and check out our Code of Conduct.

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.