Skip to content

Commit 83bb068

Browse files
committed
Merge branch 'master' of github.com:mathics/Mathics
2 parents 660713a + 7b5cc91 commit 83bb068

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

mathics/builtin/graphics.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -1286,13 +1286,21 @@ class Point(Builtin):
12861286
<dd>represents a number of point primitives.
12871287
</dl>
12881288
1289+
Points are rendered if possible as circular regions. Their diameters can be specified using 'PointSize'.
1290+
1291+
Points can be specified as {$x$, $y$}:
1292+
1293+
>> Graphics[Point[{0, 0}]]
12891294
= -Graphics-
12901295
12911296
>> Graphics[Point[Table[{Sin[t], Cos[t]}, {t, 0, 2. Pi, Pi / 15.}]]]
12921297
= -Graphics-
12931298
1294-
>> Graphics3D[Point[Table[{Sin[t], Cos[t], 0}, {t, 0, 2. Pi, Pi / 15.}]]]
1295-
= -Graphics3D-
1299+
or as {$x$, $y$, $z$}:
1300+
1301+
>> Graphics3D[{Orange, PointSize[0.05], Point[Table[{Sin[t], Cos[t], 0}, {t, 0, 2 Pi, Pi / 15.}]]}]
1302+
= -Graphics3D-
1303+
12961304
"""
12971305

12981306
pass

0 commit comments

Comments
 (0)