public class BubblePlot extends Object
| Constructor | Description |
|---|---|
BubblePlot() |
| Modifier and Type | Method | Description |
|---|---|---|
static Figure |
create(String title,
String xTitle,
double[] xCol,
String yTitle,
double[] yCol) |
|
static Figure |
create(String title,
tech.tablesaw.api.Table table,
String xCol,
String yCol,
String sizeCol) |
create a bubble plot using column names
|
static Figure |
create(String title,
tech.tablesaw.api.Table table,
String xCol,
String yCol,
String sizeColumn,
String groupCol) |
|
static Figure |
create(String title,
tech.tablesaw.columns.Column xColumn,
tech.tablesaw.columns.Column yColumn,
tech.tablesaw.api.NumericColumn sizeColumn,
double[] color,
Marker.SizeMode sizeMode,
Double opacity) |
create a bubble plot using more options including color/sizeMode/opacity
|
public static Figure create(String title, tech.tablesaw.api.Table table, String xCol, String yCol, String sizeColumn, String groupCol)
public static Figure create(String title, tech.tablesaw.columns.Column xColumn, tech.tablesaw.columns.Column yColumn, tech.tablesaw.api.NumericColumn sizeColumn, double[] color, Marker.SizeMode sizeMode, Double opacity)
title - plot titlexColumn - non-nullable, column data for x-axisyColumn - non-nullable, column data for y-axissizeColumn - nullable, indicate the bubble sizecolor - color for every data pointsizeMode - check Marker.SizeModeopacity - display opacitypublic static Figure create(String title, tech.tablesaw.api.Table table, String xCol, String yCol, String sizeCol)
title - plot titletable - source Table to fetch plot datap pointsxCol - non-nullable, column name for x-axisyCol - non-nullable, column name for y-axissizeCol - nullable, column name for bubble sizeCopyright © 2022. All rights reserved.