Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mathics/Mathics
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 7, 2021
2 parents 660713a + 7b5cc91 commit 83bb068
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mathics/builtin/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,13 +1286,21 @@ class Point(Builtin):
<dd>represents a number of point primitives.
</dl>
Points are rendered if possible as circular regions. Their diameters can be specified using 'PointSize'.
Points can be specified as {$x$, $y$}:
>> Graphics[Point[{0, 0}]]
= -Graphics-
>> Graphics[Point[Table[{Sin[t], Cos[t]}, {t, 0, 2. Pi, Pi / 15.}]]]
= -Graphics-
>> Graphics3D[Point[Table[{Sin[t], Cos[t], 0}, {t, 0, 2. Pi, Pi / 15.}]]]
= -Graphics3D-
or as {$x$, $y$, $z$}:
>> Graphics3D[{Orange, PointSize[0.05], Point[Table[{Sin[t], Cos[t], 0}, {t, 0, 2 Pi, Pi / 15.}]]}]
= -Graphics3D-
"""

pass
Expand Down

0 comments on commit 83bb068

Please sign in to comment.