plot_cat
The plot_cat method uses data from Deephaven tables to create a plot with discrete categories on the X axis.
Syntax
Parameters
Every call needs category and y. Pass t when they are column names, and leave it out when they hold the values. Pass y_low and y_high together. by needs t.
| Parameter | Type | Description |
|---|---|---|
| series_name | str | The name (as a String) you want to use to identify the series on the plot itself. |
| t optional | Table | SelectableDataSet | None | The table (or other selectable data set) that holds the data to be plotted. |
| category optional | str | list[str] | list[int] | list[float] | None | The names of the columns to be used for the categories. |
| y optional | str | list[int] | list[float] | list[DateTime] | None | The name of the column containing the discrete values. |
| y_low optional | str | list[int] | list[float] | list[DateTime] | None | The name of the column containing lower Y error bar data. |
| y_high optional | str | list[int] | list[float] | list[DateTime] | None | The name of the column containing upper Y error bar data. |
| by optional | list[str] | None | A list of one or more columns that contain grouping data. |
Returns
A category plot.
Examples
The following example plots data from a Deephaven table.