Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
$\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$
ScalingFunctions -> {None, "Log"}
? $\endgroup$f[t_] = 2 t; g[t_] = Exp[t^2]; ParametricPlot[MapAt[Log, 2]@{f[t], g[t]}, {t, 0, 10}]
$\endgroup$ScalingFunctions
is not an option forParametricPlot
" , kglr`s recommendation to useScalingFunctions -> {None, "Log"}
gives the desired result. Alternatively, extract the points fromParametricPlot
and useScalingFunctions -> "Log"
withListLinePlot
, e.g.,ListLinePlot[Cases[ParametricPlot[{2 t, E^(t^2)}, {t, -1.5, 1.5}], Line[ pts_ ] :> pts, Infinity], ScalingFunctions -> "Log", AspectRatio -> 1]
$\endgroup$