java.lang.Object
de.grogra.rchart.Rchart
- All Implemented Interfaces:
SliderMouseReleasedListener
,Disposable
,ComponentListener
,MouseListener
,MouseMotionListener
,Serializable
,EventListener
,DatasetChangeListener
public class Rchart
extends Object
implements DatasetChangeListener, Serializable, ComponentListener, MouseListener, MouseMotionListener, SliderMouseReleasedListener, Disposable
Chart plugin for GroIMP based on R/ggplot2
- Version:
- 1.0
- Author:
- Lukas Gürtler
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
ggplot2 commandsstatic enum
legend positionsstatic enum
line typesclass
class that represents a plotting commandstatic enum
point shapes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
ggplot2 functionvoid
annotation_custom
(String... args) ggplot2 functionAreaPlot
(int Xcolumn, int Ycolumn) wrapper for function geom_area(...)BarPlot
(int Xcolumn, int Ycolumn) wrapper for function geom_bar(...)BoxPlot
(int column) wrapper for function geom_boxplot(...)void
void
void
void
void
coord_cartesian
(String... args) ggplot2 functionvoid
coord_fixed
(String... args) ggplot2 functionvoid
coord_flip
(String... args) ggplot2 functionvoid
ggplot2 functionvoid
coord_polar
(String... args) ggplot2 functionvoid
coord_quickmap
(String... args) ggplot2 functionvoid
coord_trans
(String... args) ggplot2 functionvoid
datasetChanged
(DatasetChangeEvent event) event handler that is invoked when the dataset is changedvoid
dispose()
dispose instanceDotPlot
(int Xcolumn, int Ycolumn) wrapper for function geom_point(...)void
expand_limits
(String... args) ggplot2 functionvoid
execute any R expressionvoid
facet_grid
(String... args) ggplot2 functionvoid
facet_wrap
(String... args) ggplot2 functionFittedLinePlot
(int Xcolumn, int Ycolumn) wrapper for function geom_smooth(...,"method = 'loess'")geom_abline
(String... args) ggplot2 functionggplot2 functionggplot2 functionggplot2 functiongeom_bin2d
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_blank
(String... args) ggplot2 functiongeom_boxplot
(int column, String... args) ggplot2 functionggplot2 functiongeom_contour
(int Xcolumn, int Ycolumn, int Zcolumn, String... args) ggplot2 functiongeom_count
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_crossbar
(int Xcolumn, int Ycolumn, int Ymin, int Ymax, String... args) ggplot2 functiongeom_curve
(int Xstart, int Ystart, int Xend, int Yend, String... args) ggplot2 functiongeom_density
(int column, String... args) ggplot2 functiongeom_density2d
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_dotplot
(int column, String... args) ggplot2 functiongeom_errorbar
(int column, int Ymin, int Ymax, String... args) ggplot2 functiongeom_errorbarh
(int column, int Xmin, int Xmax, String... args) ggplot2 functiongeom_freqpoly
(int column, String... args) ggplot2 functionggplot2 functiongeom_histogram
(int column, String... args) ggplot2 functiongeom_hline
(double yintercept, String... args) ggplot2 functiongeom_jitter
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_label
(double x, double y, String label, String... args) ggplot2 functiongeom_label
(int Xcolumn, int Ycolumn, String[] labels, String... args) ggplot2 functiongeom_label
(String... args) ggplot2 functiongeom_label_repel
(int Xcolumn, int Ycolumn, String[] labels, String... args) ggplot2 functionggplot2 functiongeom_linerange
(int column, int Ymin, int Ymax, String... args) ggplot2 functionggplot2 functionggplot2 functiongeom_point
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_pointrange
(int Xcolumn, int Ycolumn, int Ymin, int Ymax, String... args) ggplot2 functiongeom_polygon
(int Xcolumn, int Ycolumn, String... args) ggplot2 functionggplot2 functiongeom_quantile
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_raster
(int Xcolumn, int Ycolumn, String... args) ggplot2 functionggplot2 functiongeom_ribbon
(int column, int Ymin, int Ymax, String... args) ggplot2 functionggplot2 functionggplot2 functionggplot2 functiongeom_segment
(int Xstart, int Ystart, int Xend, int Yend, String... args) ggplot2 functiongeom_smooth
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_spoke
(int Xcolumn, int Ycolumn, int angle, int radius, String... args) ggplot2 functionggplot2 functionggplot2 functionggplot2 functiongeom_violin
(int Xcolumn, int Ycolumn, String... args) ggplot2 functiongeom_vline
(double xintercept, String... args) ggplot2 functionget the datasetgetTitle()
get the plot titlevoid
ggplot2_function
(String function, String... args) ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 functionvoid
HeatMap
(int Xcolumn, int Ycolumn, int HeatColumn, double resolution) heat map plotvoid
HeatMap
(int Xcolumn, int Ycolumn, int HeatColumn, double resolution, String Xlabel, String Ylabel, String Heatlabel) heat map plotvoid
HeatMap
(int Xcolumn, int Ycolumn, int HeatColumn, double resolution, String Xlabel, String Ylabel, String Heatlabel, String title) heat map plotHistogram
(int column) wrapper for function geom_histogram(...)Histogram
(int column, double binwidth) wrapper for function geom_histogram(...)void
opens a browser table application for the datasetvoid
ggplot2 functionLinePlot
(int Xcolumn, int Ycolumn) wrapper for function geom_line(...)void
LinePlot3D
(int Xcolumn, int Ycolumn, int Zcolumn) 3D line plotvoid
LinePlot3D
(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D line plotvoid
void
void
void
void
void
void
void
scale_color_manual
(String... args) ggplot2 functionvoid
scale_fill_brewer
(String... args) ggplot2 functionvoid
scale_fill_continuous
(String... args) ggplot2 functionvoid
scale_fill_discrete
(String... args) ggplot2 functionvoid
scale_fill_distiller
(String... args) ggplot2 functionvoid
scale_fill_gradient
(String... args) ggplot2 functionvoid
scale_fill_gradient2
(String... args) ggplot2 functionvoid
scale_fill_gradientn
(String... args) ggplot2 functionvoid
scale_fill_manual
(String... args) ggplot2 functionvoid
scale_linetype_manual
(String... args) ggplot2 functionvoid
scale_radius
(String... args) ggplot2 functionvoid
scale_shape
(String... args) ggplot2 functionvoid
scale_shape_manual
(String... args) ggplot2 functionvoid
scale_size
(String... args) ggplot2 functionvoid
scale_size_area
(String... args) ggplot2 functionvoid
scale_x_continuous
(String... args) ggplot2 functionvoid
scale_x_date
(String... args) ggplot2 functionvoid
scale_x_datetime
(String... args) ggplot2 functionvoid
scale_x_discrete
(String... args) ggplot2 functionvoid
scale_x_identity
(String... args) ggplot2 functionvoid
scale_x_log10
(String... args) ggplot2 functionvoid
scale_x_manual
(String... args) ggplot2 functionvoid
scale_x_reverse
(String... args) ggplot2 functionvoid
scale_x_sqrt
(String... args) ggplot2 functionvoid
scale_y_continuous
(String... args) ggplot2 functionvoid
scale_y_date
(String... args) ggplot2 functionvoid
scale_y_datetime
(String... args) ggplot2 functionvoid
scale_y_discrete
(String... args) ggplot2 functionvoid
scale_y_identity
(String... args) ggplot2 functionvoid
scale_y_log10
(String... args) ggplot2 functionvoid
scale_y_manual
(String... args) ggplot2 functionvoid
scale_y_reverse
(String... args) ggplot2 functionvoid
scale_y_sqrt
(String... args) ggplot2 functionvoid
ScatterPlot3D
(int Xcolumn, int Ycolumn, int Zcolumn) 3D scatter plotvoid
ScatterPlot3D
(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D scatter plotvoid
set legend positionvoid
set the plot titlevoid
setXAxisLabel
(String label) set x-axis labelvoid
setXAxisLimits
(double min, double max) set x-axis limitsvoid
setYAxisLabel
(String label) set y-axis labelvoid
setYAxisLimits
(double min, double max) set y-axis limitsvoid
setZAxisLabel
(String label) set z-axis labelvoid
setZAxisLimits
(double min, double max) set z-axis limitsvoid
show()
Opens the plot window (if not already open) and plots according to settings.void
StepPlot
(int Xcolumn, int Ycolumn) wrapper for function geom_step(...)void
Table()
plot tablevoid
plot tablevoid
plot tablevoid
ggplot2 functionvoid
ggplot2 functionvoid
theme_classic
(String... args) ggplot2 functionvoid
theme_dark
(String... args) ggplot2 functionvoid
theme_grey
(String... args) ggplot2 functionvoid
theme_light
(String... args) ggplot2 functionvoid
theme_linedraw
(String... args) ggplot2 functionvoid
theme_minimal
(String... args) ggplot2 functionvoid
theme_void
(String... args) ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 functionvoid
ggplot2 function
-
Constructor Details
-
Rchart
constructor- Parameters:
dataset
- plot datainteractive
- determines if the plot updates when the data changes
-
Rchart
constructor- Parameters:
dsr
- plot datainteractive
- determines if the plot updates when the data changes
-
-
Method Details
-
getDataset
get the dataset- Returns:
- dataset
-
getTitle
get the plot title- Returns:
- title
-
setTitle
set the plot title- Parameters:
title
-
-
show
public void show()Opens the plot window (if not already open) and plots according to settings. Only needed when initialized with interactive=false. -
inspectData
public void inspectData()opens a browser table application for the dataset -
datasetChanged
event handler that is invoked when the dataset is changed- Specified by:
datasetChanged
in interfaceDatasetChangeListener
- Parameters:
event
- information about the event.
-
annotate
ggplot2 function- Parameters:
args
- arguments
-
annotation_custom
ggplot2 function- Parameters:
args
- arguments
-
coord_cartesian
ggplot2 function- Parameters:
args
- arguments
-
coord_fixed
ggplot2 function- Parameters:
args
- arguments
-
coord_flip
ggplot2 function- Parameters:
args
- arguments
-
coord_map
ggplot2 function- Parameters:
args
- arguments
-
coord_polar
ggplot2 function- Parameters:
args
- arguments
-
coord_quickmap
ggplot2 function- Parameters:
args
- arguments
-
coord_trans
ggplot2 function- Parameters:
args
- arguments
-
expand_limits
ggplot2 function- Parameters:
args
- arguments
-
facet_grid
ggplot2 function- Parameters:
args
- arguments
-
facet_wrap
ggplot2 function- Parameters:
args
- arguments
-
geom_abline
ggplot2 function- Parameters:
args
- arguments- Returns:
- PlotOption instance
-
geom_area
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_bar
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_bar
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_bin2d
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_blank
ggplot2 function- Parameters:
args
- arguments- Returns:
- PlotOption instance
-
geom_boxplot
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_col
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_contour
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesZcolumn
- column index from dataset to map column to z-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_count
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_crossbar
public Rchart.PlotOption geom_crossbar(int Xcolumn, int Ycolumn, int Ymin, int Ymax, String... args) ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesYmin
- column index from dataset to map column to range x-valuesYmax
- column index from dataset to map column to range y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_curve
ggplot2 function- Parameters:
Xstart
- column index from dataset to map column to start x-valuesYstart
- column index from dataset to map column to start y-valuesXend
- column index from dataset to map column to end x-valuesYend
- column index from dataset to map column to end y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_density
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_density2d
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_dotplot
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_errorbar
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesYmin
- column index from dataset to map column to range x-valuesYmax
- column index from dataset to map column to range y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_errorbarh
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesXmin
- column index from dataset to map column to range x-valuesXmax
- column index from dataset to map column to range y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_freqpoly
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_hex
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_histogram
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_hline
ggplot2 function- Parameters:
yintercept
- height to intercept y-axisargs
- arguments- Returns:
- PlotOption instance
-
geom_jitter
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_label
ggplot2 function- Parameters:
args
- arguments- Returns:
- PlotOption instance
-
geom_label
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valueslabels
- label text arrayargs
- arguments- Returns:
- PlotOption instance
-
geom_label
ggplot2 function- Parameters:
x
- x-coordinate to place the labely
- y-coordinate to place the labellabel
- label textargs
- arguments- Returns:
- PlotOption instance
-
geom_label_repel
public Rchart.PlotOption geom_label_repel(int Xcolumn, int Ycolumn, String[] labels, String... args) ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valueslabels
- label text arrayargs
- arguments- Returns:
- PlotOption instance
-
geom_line
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_linerange
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesYmin
- column index from dataset to map column to line range x-valuesYmax
- column index from dataset to map column to line range y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_map
ggplot2 function- Parameters:
args
- arguments- Returns:
- PlotOption instance
-
geom_path
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_point
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_pointrange
public Rchart.PlotOption geom_pointrange(int Xcolumn, int Ycolumn, int Ymin, int Ymax, String... args) ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesYmin
- column index from dataset to map column to range x-valuesYmax
- column index from dataset to map column to range x-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_polygon
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_qq
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_quantile
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_raster
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_rect
public Rchart.PlotOption geom_rect(double xmin, double xmax, double ymin, double ymax, String... args) ggplot2 function- Parameters:
xmin
- min x-value of rectanglexmax
- max x-value of rectangleymin
- min y-value of rectangleymax
- max y-value of rectangleargs
- arguments- Returns:
- PlotOption instance
-
geom_ribbon
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesYmin
- column index from dataset to map column to range x-valuesYmax
- column index from dataset to map column to range x-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_rug
ggplot2 function- Parameters:
args
- arguments- Returns:
- PlotOption instance
-
geom_rug
ggplot2 function- Parameters:
column
- column index from dataset to map column to valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_rug
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_segment
ggplot2 function- Parameters:
Xstart
- column index from dataset to map column to start x-valuesYstart
- column index from dataset to map column to start y-valuesXend
- column index from dataset to map column to end x-valuesYend
- column index from dataset to map column to end y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_smooth
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_spoke
public Rchart.PlotOption geom_spoke(int Xcolumn, int Ycolumn, int angle, int radius, String... args) ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesangle
- column index from dataset to map angle to data pointsradius
- column index from dataset to map radius to data pointsargs
- arguments- Returns:
- PlotOption instance
-
geom_step
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_text
ggplot2 function- Parameters:
x
- x-coordinate to place the labely
- y-coordinate to place the labeltext
- textargs
- arguments- Returns:
- PlotOption instance
-
geom_tile
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_violin
ggplot2 function- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesargs
- arguments- Returns:
- PlotOption instance
-
geom_vline
ggplot2 function- Parameters:
xintercept
- width to intercept x-axisargs
- arguments- Returns:
- PlotOption instance
-
ggtitle
ggplot2 function- Parameters:
args
- arguments
-
guides
ggplot2 function- Parameters:
args
- arguments
-
labs
ggplot2 function- Parameters:
args
- arguments
-
scale_color_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_linetype_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_brewer
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_continuous
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_discrete
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_distiller
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_gradient
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_gradient2
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_gradientn
ggplot2 function- Parameters:
args
- arguments
-
scale_fill_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_radius
ggplot2 function- Parameters:
args
- arguments
-
scale_shape
ggplot2 function- Parameters:
args
- arguments
-
scale_shape_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_size
ggplot2 function- Parameters:
args
- arguments
-
scale_size_area
ggplot2 function- Parameters:
args
- arguments
-
scale_x_continuous
ggplot2 function- Parameters:
args
- arguments
-
scale_x_date
ggplot2 function- Parameters:
args
- arguments
-
scale_x_datetime
ggplot2 function- Parameters:
args
- arguments
-
scale_x_discrete
ggplot2 function- Parameters:
args
- arguments
-
scale_x_identity
ggplot2 function- Parameters:
args
- arguments
-
scale_x_log10
ggplot2 function- Parameters:
args
- arguments
-
scale_x_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_x_reverse
ggplot2 function- Parameters:
args
- arguments
-
scale_x_sqrt
ggplot2 function- Parameters:
args
- arguments
-
scale_y_continuous
ggplot2 function- Parameters:
args
- arguments
-
scale_y_date
ggplot2 function- Parameters:
args
- arguments
-
scale_y_datetime
ggplot2 function- Parameters:
args
- arguments
-
scale_y_discrete
ggplot2 function- Parameters:
args
- arguments
-
scale_y_identity
ggplot2 function- Parameters:
args
- arguments
-
scale_y_log10
ggplot2 function- Parameters:
args
- arguments
-
scale_y_manual
ggplot2 function- Parameters:
args
- arguments
-
scale_y_reverse
ggplot2 function- Parameters:
args
- arguments
-
scale_y_sqrt
ggplot2 function- Parameters:
args
- arguments
-
theme
ggplot2 function- Parameters:
args
- arguments
-
theme_bw
ggplot2 function- Parameters:
args
- arguments
-
theme_classic
ggplot2 function- Parameters:
args
- arguments
-
theme_dark
ggplot2 function- Parameters:
args
- arguments
-
theme_grey
ggplot2 function- Parameters:
args
- arguments
-
theme_light
ggplot2 function- Parameters:
args
- arguments
-
theme_linedraw
ggplot2 function- Parameters:
args
- arguments
-
theme_minimal
ggplot2 function- Parameters:
args
- arguments
-
theme_void
ggplot2 function- Parameters:
args
- arguments
-
xlab
ggplot2 function- Parameters:
args
- arguments
-
xlim
ggplot2 function- Parameters:
args
- arguments
-
ylab
ggplot2 function- Parameters:
args
- arguments
-
ylim
ggplot2 function- Parameters:
args
- arguments
-
zlab
ggplot2 function- Parameters:
args
- arguments
-
zlim
ggplot2 function- Parameters:
args
- arguments
-
ggplot2_function
ggplot2 function- Parameters:
function
- function nameargs
- arguments
-
Table
public void Table()plot table -
Table
plot table- Parameters:
colNames
- array of column names
-
Table
plot table- Parameters:
colNames
- array of column namesrowNames
- array of row names
-
ScatterPlot3D
public void ScatterPlot3D(int Xcolumn, int Ycolumn, int Zcolumn) 3D scatter plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesZcolumn
- column index from dataset to map column to z-values
-
ScatterPlot3D
public void ScatterPlot3D(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D scatter plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesZcolumn
- column index from dataset to map column to z-valuesXlabel
- x-axis labelYlabel
- y-axis labelZlabel
- z-axis label
-
LinePlot3D
public void LinePlot3D(int Xcolumn, int Ycolumn, int Zcolumn) 3D line plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesZcolumn
- column index from dataset to map column to z-values
-
LinePlot3D
public void LinePlot3D(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D line plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesZcolumn
- column index from dataset to map column to z-valuesXlabel
- x-axis labelYlabel
- y-axis labelZlabel
- z-axis label
-
HeatMap
public void HeatMap(int Xcolumn, int Ycolumn, int HeatColumn, double resolution) heat map plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesHeatColumn
- column index from dataset to map column to heat valuesresolution
- interpolation resolution
-
HeatMap
public void HeatMap(int Xcolumn, int Ycolumn, int HeatColumn, double resolution, String Xlabel, String Ylabel, String Heatlabel, String title) heat map plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesHeatColumn
- column index from dataset to map column to heat valuesresolution
- interpolation resolutionXlabel
- x-axis labelYlabel
- y-axis labelHeatlabel
- heat values label
-
HeatMap
public void HeatMap(int Xcolumn, int Ycolumn, int HeatColumn, double resolution, String Xlabel, String Ylabel, String Heatlabel) heat map plot- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-valuesHeatColumn
- column index from dataset to map column to heat valuesresolution
- interpolation resolutionXlabel
- x-axis labelYlabel
- y-axis label
-
LinePlot
wrapper for function geom_line(...)- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
Histogram
wrapper for function geom_histogram(...)- Parameters:
column
- column index from dataset to map column to values- Returns:
- PlotOption instance
-
Histogram
wrapper for function geom_histogram(...)- Parameters:
column
- column index from dataset to map column to valuesbinwidth
- width of histogram bins- Returns:
- PlotOption instance
-
BarPlot
wrapper for function geom_bar(...)- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
DotPlot
wrapper for function geom_point(...)- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
StepPlot
wrapper for function geom_step(...)- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
BoxPlot
wrapper for function geom_boxplot(...)- Parameters:
column
- column index from dataset to map column to values- Returns:
- PlotOption instance
-
AreaPlot
wrapper for function geom_area(...)- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
FittedLinePlot
wrapper for function geom_smooth(...,"method = 'loess'")- Parameters:
Xcolumn
- column index from dataset to map column to x-valuesYcolumn
- column index from dataset to map column to y-values- Returns:
- PlotOption instance
-
expr
execute any R expression- Parameters:
value
- expression
-
setXAxisLabel
set x-axis label -
setYAxisLabel
set y-axis label -
setZAxisLabel
set z-axis label -
setXAxisLimits
public void setXAxisLimits(double min, double max) set x-axis limits- Parameters:
min
- minimum valuemax
- maximum value
-
setYAxisLimits
public void setYAxisLimits(double min, double max) set y-axis limits- Parameters:
min
- minimum valuemax
- maximum value
-
setZAxisLimits
public void setZAxisLimits(double min, double max) set z-axis limits- Parameters:
min
- minimum valuemax
- maximum value
-
setLegendPosition
set legend position- Parameters:
pos
- legend position value
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
SliderMouseReleasedEvent
public void SliderMouseReleasedEvent()- Specified by:
SliderMouseReleasedEvent
in interfaceSliderMouseReleasedListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
componentResized
- Specified by:
componentResized
in interfaceComponentListener
-
dispose
public void dispose()dispose instance- Specified by:
dispose
in interfaceDisposable
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
componentHidden
- Specified by:
componentHidden
in interfaceComponentListener
-
componentShown
- Specified by:
componentShown
in interfaceComponentListener
-
componentMoved
- Specified by:
componentMoved
in interfaceComponentListener
-