You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Functions like 'Plot' and 'ListPlot' can be used to draw graphs of functions and data.
5
+
6
+
Graphics is implemented as a collection of <i>graphics primitives</i>. Primatives are objects like 'Point', 'Line', and 'Polygon' and become elements of a <i>graphics object</i>.
7
+
8
+
A graphics object can have directives as well such as 'RGBColor', and 'Thickness'.
9
+
10
+
There are several kinds of graphics objects; each kind has a head which identifies its type.
11
+
12
+
>> ListPlot[ Table[Prime[n], {n, 20} ]]
13
+
= -Graphics-
14
+
>> Head[%]
15
+
= Graphics
16
+
>> Graphics3D[Sphere[]]
17
+
= -Graphics3D-
18
+
>> Head[%]
19
+
= Graphics3D
20
+
>>
21
+
22
+
3
23
"""
24
+
25
+
frommathics.versionimport__version__# noqa used in loading to check consistency.
0 commit comments