This is the code documentation for our Grid class.
Methods
(inner) constructor(n, m, x_min, x_max, y_min, y_max, vmin, vmax)
Parameters:
Name | Type | Description |
---|---|---|
n |
Number | width of the grid. |
m |
Number | height of the grid. |
x_min |
Number | min for scaling of x. |
x_max |
Number | max for scaling of x. |
y_min |
Number | min for scaling of y. |
y_max |
Number | max for scaling of y. |
vmin |
Number | min for color scaling. |
vmax |
Number | max for color scaling. |
(inner) get()
Returns:
this.values