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, 07 Nov 2011 16:56:11 +0100How do I plot parametric and polar curveshttps://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/How do I "ask" or input a command line for parametric and polar curves with other variables than x such as r, (theta), y etc?
thank youMon, 07 Nov 2011 16:19:46 +0100https://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/Answer by Jason Grout for <p>How do I "ask" or input a command line for parametric and polar curves with other variables than x such as r, (theta), y etc?
thank you</p>
https://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/?answer=12866#post-id-12866I'm not quite sure what you're asking, but here's how to plot something with a different variable:
sage: var('theta')
theta
sage: parametric_plot( (theta, theta^2), (theta,0,10))
You just need to declare your variables with `var()`Mon, 07 Nov 2011 16:47:52 +0100https://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/?answer=12866#post-id-12866Comment by doladimeji for <p>I'm not quite sure what you're asking, but here's how to plot something with a different variable:</p>
<pre><code>sage: var('theta')
theta
sage: parametric_plot( (theta, theta^2), (theta,0,10))
</code></pre>
<p>You just need to declare your variables with <code>var()</code></p>
https://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/?comment=20950#post-id-20950thank you. thats answears part of my question. I am new to sage and i am not familiar with the command lines (how to tell sage to plot parametric or polar curves). I have plots like x=t-3, y =t^2 + 5 (parametric) and r = 2+ cos((5theta)/2) [Polar]
Finally, how I adjust/set a scale so that all my graph shows?
How do i tell sage to plot these for me?
Thanks.Mon, 07 Nov 2011 16:56:11 +0100https://ask.sagemath.org/question/8450/how-do-i-plot-parametric-and-polar-curves/?comment=20950#post-id-20950