ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 01 Dec 2014 02:05:07 -0600swap axes in 2d plothttp://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>Sun, 30 Nov 2014 23:05:59 -0600http://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>
http://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 02:05:07 -0600http://ask.sagemath.org/question/25066/swap-axes-in-2d-plot/?answer=25067#post-id-25067