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
Copy file name to clipboardExpand all lines: doc/syntax/clause/project.qmd
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,6 @@ This clause behaves much like the `SETTINGS` clause in `DRAW`, in that it allows
32
32
If you do not provide a `PROJECT` clause then the coordinate system will be picked for you based on the mappings in your query. The logic is as follows
33
33
34
34
* If `x`, `y` or any of their variants are mapped to, a Cartesian coordinate system is used
35
-
* If `theta`, `radius` or any of their variants are mapped to, a polar coordinate system is used
35
+
* If `angle`, `radius` or any of their variants are mapped to, a polar coordinate system is used
36
36
* If none of the above applies, the plot defaults to a Cartesian coordinate system
37
-
* If multiple applies (e.g. mapping to both x and theta) an error is thrown
37
+
* If multiple applies (e.g. mapping to both x and angle) an error is thrown
Copy file name to clipboardExpand all lines: doc/syntax/coord/polar.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,32 +8,32 @@ The polar coordinate system interprets its primary aesthetic as the angular posi
8
8
The polar coordinate system has the following default positional aesthetics which will be used if no others have been provided:
9
9
10
10
***Primary**: `radius` (distance from center)
11
-
***Secondary**: `theta` (angular position)
11
+
***Secondary**: `angle` (angular position)
12
12
13
13
Users can provide their own aesthetic names if needed. For example, if using `x` and `y` aesthetics:
14
14
15
15
```ggsql
16
16
PROJECT y, x TO polar
17
17
```
18
18
19
-
This maps `y` to radius and `x` to theta (angle). This is useful when converting from a cartesian coordinate system without editing all the mappings.
19
+
This maps `y` to radius and `x` to angle. This is useful when converting from a cartesian coordinate system without editing all the mappings.
20
20
21
21
## Settings
22
22
*`clip`: Should data be removed if it appears outside the bounds of the coordinate system. Defaults to `true`
23
-
*`start`: The starting angle in degrees for the theta scale. Controls where "0" on the angular axis begins. Defaults to `0` (12 o'clock position).
23
+
*`start`: The starting angle in degrees for the angle scale. Controls where "0" on the angular axis begins. Defaults to `0` (12 o'clock position).
24
24
-`0` = 12 o'clock position (top)
25
25
-`90` = 3 o'clock position (right)
26
26
-`-90` or `270` = 9 o'clock position (left)
27
27
-`180` = 6 o'clock position (bottom)
28
-
*`end`: The ending angle in degrees for the theta scale. Defaults to `start + 360` (a full circle). Use this with `start` to create partial polar plots like gauge charts or half-circle visualizations.
28
+
*`end`: The ending angle in degrees for the angle scale. Defaults to `start + 360` (a full circle). Use this with `start` to create partial polar plots like gauge charts or half-circle visualizations.
29
29
*`inner`: The inner radius as a proportion (0 to 1) of the outer radius. Defaults to `0` (no hole). Setting this creates a donut chart where the inner portion is empty.
0 commit comments