Skip to content

Commit a79729c

Browse files
rb@dustyfeet.confrocky
authored andcommitted
Tweak wording and examples on PolarPlot
1 parent 3fb1302 commit a79729c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

mathics/builtin/drawing/plot.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,15 +2198,17 @@ def eval_f(self, f, x_value):
21982198
class PolarPlot(_Plot):
21992199
"""
22002200
<dl>
2201-
<dt>'PolarPlot[$r$, {$t$, $tmin$, $tmax$}]'
2202-
<dd>creates a polar plot of $r$ with angle $t$ ranging from
2203-
$tmin$ to $tmax$.
2201+
<dt>'PolarPlot[$r$, {$\u03B8$, $\u03B8_min$, $\u03B8_max$}]'
2202+
<dd>creates a polar plot of curve with radious $r$ as a function of angle $\u03B8$ ranging from $\u03B8_min$ to $\u03B8_max$.
22042203
</dl>
22052204
2206-
>> PolarPlot[Cos[5t], {t, 0, Pi}]
2205+
>> PolarPlot[Cos[5\[Theta]], {\[Theta], 0, Pi}]
22072206
= -Graphics-
22082207
2209-
>> PolarPlot[{1, 1 + Sin[20 t] / 5}, {t, 0, 2 Pi}]
2208+
>> PolarPlot[{1, 1 + Sin[20 \u03B8] / 5}, {\u03B8, 0, 2 Pi}]
2209+
= -Graphics-
2210+
2211+
>> PolarPlot[Sqrt[t], {t, 0, 16 Pi}]
22102212
= -Graphics-
22112213
"""
22122214

0 commit comments

Comments
 (0)