1
$\begingroup$

Logarithm Scaling of a normal plot is fairly simply with the LogPlot command but I couldn't find anything for scaling a for scaling of a parametric plot.

If I want to draw a paramteric plot with y-scaled logarithmically how would I do that?

$\endgroup$
5
  • 2
    $\begingroup$ use the option ScalingFunctions -> {None, "Log"}? $\endgroup$
    – kglr
    Commented May 1, 2021 at 7:30
  • $\begingroup$ I think "ParametricPlot" can not do this directly. But you can plot the Log of the y coordinate. $\endgroup$ Commented May 1, 2021 at 7:38
  • $\begingroup$ f[t_] = 2 t; g[t_] = Exp[t^2]; ParametricPlot[MapAt[Log, 2]@{f[t], g[t]}, {t, 0, 10}] $\endgroup$
    – cvgmt
    Commented May 1, 2021 at 7:47
  • $\begingroup$ Can the method suggested by @JasonB in his answer to this question be adapted? $\endgroup$
    – LouisB
    Commented May 1, 2021 at 8:37
  • $\begingroup$ Notwithstanding the warning and highlighting that "ScalingFunctions is not an option for ParametricPlot" , kglr`s recommendation to use ScalingFunctions -> {None, "Log"} gives the desired result. Alternatively, extract the points from ParametricPlot and use ScalingFunctions -> "Log" with ListLinePlot, e.g., ListLinePlot[Cases[ParametricPlot[{2 t, E^(t^2)}, {t, -1.5, 1.5}], Line[ pts_ ] :> pts, Infinity], ScalingFunctions -> "Log", AspectRatio -> 1] $\endgroup$
    – Bob Hanlon
    Commented May 1, 2021 at 13:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.