ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 01 Dec 2014 09:05:07 +0100swap axes in 2d plothttps://ask.sagemath.org/question/25066/swap-axes-in-2d-plot/<p>Hi guys. Just playing around with titration curves in water, which is a remarkably difficult problem to do.</p>
<p>Basically I can derive an equation for volume of base versus pH of solution, and plot it.</p>
<p>However, I'd like to swap the x and y axes.</p>
<p>Or do I have to use implicit_plot? :(</p>Mon, 01 Dec 2014 06:05:59 +0100https://ask.sagemath.org/question/25066/swap-axes-in-2d-plot/Answer by slelievre for <p>Hi guys. Just playing around with titration curves in water, which is a remarkably difficult problem to do.</p>
<p>Basically I can derive an equation for volume of base versus pH of solution, and plot it.</p>
<p>However, I'd like to swap the x and y axes.</p>
<p>Or do I have to use implicit_plot? :(</p>
https://ask.sagemath.org/question/25066/swap-axes-in-2d-plot/?answer=25067#post-id-25067You could use `parametric_plot` and plot `(f(t), t)`.Mon, 01 Dec 2014 09:05:07 +0100https://ask.sagemath.org/question/25066/swap-axes-in-2d-plot/?answer=25067#post-id-25067