import mikeio
ds = mikeio.read("../data/oresund_sigma_z.dfsu")
ds.plot.scatter(x="Salinity", y="Temperature", title="S-vs-T")
Class for plotting scatter plots from datasets.
| Name | Description |
|---|---|
| scatter | Plot data from two DataArrays against each other in a scatter plot. |
Plot data from two DataArrays against each other in a scatter plot.
| Name | Type | Description | Default |
|---|---|---|---|
| x | str or int | Identifier for first DataArray | required |
| y | str or int | Identifier for second DataArray | required |
| ax | Axes | None | Adding to existing axis, instead of creating new fig | None |
| figsize | tuple[float, float] | None | specify size of figure | None |
| title | str | None | axes title | None |
| **kwargs | Any | additional kwargs will be passed to ax.scatter() | {} |
| Name | Type | Description |
|---|---|---|
| <matplotlib.axes> |
