I have the following list
data = {{1, 2, 3}, {2, 4, 9}, {3, 8, 27}}
I would like to plot second part with respect to first part but third part with respect to twice the first part in the same plot. I tried:
ListLinePlot[{data[[All, {1, 2}]], data[[All, {2 #1, 3}]]}]
which does not work. How can I fix this?
ListLinePlot[{data[[All, {1, 2}]], data[[All, {1, 3}]].DiagonalMatrix[{2, 1}]}, PlotRange -> All]
suit your needs? $\endgroup$TranslationTransform[]
andScalingTransform[]
, then; e.g.TranslationTransform[{5, 0}][data[[All, {1, 3}]]]
. $\endgroup$