Skip to content

Commit 8e02a7c

Browse files
committed
Update README
1 parent b9f746b commit 8e02a7c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,9 +1156,9 @@ The Plot.normalizeX and Plot.normalizeY transforms take an additional **basis**
11561156
* *extent* - the minimum is mapped to zero, and the maximum to one
11571157
* a function to be passed an array of values, returning the desired basis
11581158

1159-
The Plot.windowX and Plot.windowY transforms take additional options:
1159+
The Plot.windowX and Plot.windowY transforms likewise take additional options:
11601160

1161-
* **k** - the window size
1161+
* **k** - the window size (the number of elements in the window)
11621162
* **shift** - how to align the window: *centered*, *leading*, or *trailing*
11631163
* **reduce** - the aggregation method (window reducer)
11641164

@@ -1204,31 +1204,31 @@ Equivalent to Plot.map({y: *map*, y1: *map*, y2: *map*}, *options*), but ignores
12041204
Plot.normalizeX({y: "Date", x: "Close", stroke: "Symbol"})
12051205
```
12061206

1207-
Similar to [Plot.mapX](#plotmapxmap-options),
1207+
Similar to [Plot.mapX](#plotmapxmap-options), but applies the normalize map method with the given *options*.
12081208

12091209
#### Plot.normalizeY(*options*)
12101210

12111211
```js
12121212
Plot.normalizeY({x: "Date", y: "Close", stroke: "Symbol"})
12131213
```
12141214

1215-
Similar to [Plot.mapY](#plotmapymap-options),
1215+
Similar to [Plot.mapY](#plotmapymap-options), but applies the normalize map method with the given *options*.
12161216

12171217
#### Plot.windowX(*options*)
12181218

12191219
```js
12201220
Plot.windowX({y: "Date", x: "Anomaly", k: 24})
12211221
```
12221222

1223-
Similar to [Plot.mapX](#plotmapxmap-options),
1223+
Similar to [Plot.mapX](#plotmapxmap-options), but applies the window map method with the given *options*.
12241224

12251225
#### Plot.windowY(*options*)
12261226

12271227
```js
12281228
Plot.windowY({x: "Date", y: "Anomaly", k: 24})
12291229
```
12301230

1231-
Similar to [Plot.mapY](#plotmapymap-options),
1231+
Similar to [Plot.mapY](#plotmapymap-options), but applies the window map method with the given *options*.
12321232

12331233
### Select
12341234

0 commit comments

Comments
 (0)