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 enumggplot2 commandsstatic enumlegend positionsstatic enumline typesclassclass that represents a plotting commandstatic enumpoint shapes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidggplot2 functionvoidannotation_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(...)voidvoidvoidvoidvoidcoord_cartesian(String... args) ggplot2 functionvoidcoord_fixed(String... args) ggplot2 functionvoidcoord_flip(String... args) ggplot2 functionvoidggplot2 functionvoidcoord_polar(String... args) ggplot2 functionvoidcoord_quickmap(String... args) ggplot2 functionvoidcoord_trans(String... args) ggplot2 functionvoiddatasetChanged(DatasetChangeEvent event) event handler that is invoked when the dataset is changedvoiddispose()dispose instanceDotPlot(int Xcolumn, int Ycolumn) wrapper for function geom_point(...)voidexpand_limits(String... args) ggplot2 functionvoidexecute any R expressionvoidfacet_grid(String... args) ggplot2 functionvoidfacet_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 titlevoidggplot2_function(String function, String... args) ggplot2 functionvoidggplot2 functionvoidggplot2 functionvoidHeatMap(int Xcolumn, int Ycolumn, int HeatColumn, double resolution) heat map plotvoidHeatMap(int Xcolumn, int Ycolumn, int HeatColumn, double resolution, String Xlabel, String Ylabel, String Heatlabel) heat map plotvoidHeatMap(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(...)voidopens a browser table application for the datasetvoidggplot2 functionLinePlot(int Xcolumn, int Ycolumn) wrapper for function geom_line(...)voidLinePlot3D(int Xcolumn, int Ycolumn, int Zcolumn) 3D line plotvoidLinePlot3D(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D line plotvoidvoidvoidvoidvoidvoidvoidvoidscale_color_manual(String... args) ggplot2 functionvoidscale_fill_brewer(String... args) ggplot2 functionvoidscale_fill_continuous(String... args) ggplot2 functionvoidscale_fill_discrete(String... args) ggplot2 functionvoidscale_fill_distiller(String... args) ggplot2 functionvoidscale_fill_gradient(String... args) ggplot2 functionvoidscale_fill_gradient2(String... args) ggplot2 functionvoidscale_fill_gradientn(String... args) ggplot2 functionvoidscale_fill_manual(String... args) ggplot2 functionvoidscale_linetype_manual(String... args) ggplot2 functionvoidscale_radius(String... args) ggplot2 functionvoidscale_shape(String... args) ggplot2 functionvoidscale_shape_manual(String... args) ggplot2 functionvoidscale_size(String... args) ggplot2 functionvoidscale_size_area(String... args) ggplot2 functionvoidscale_x_continuous(String... args) ggplot2 functionvoidscale_x_date(String... args) ggplot2 functionvoidscale_x_datetime(String... args) ggplot2 functionvoidscale_x_discrete(String... args) ggplot2 functionvoidscale_x_identity(String... args) ggplot2 functionvoidscale_x_log10(String... args) ggplot2 functionvoidscale_x_manual(String... args) ggplot2 functionvoidscale_x_reverse(String... args) ggplot2 functionvoidscale_x_sqrt(String... args) ggplot2 functionvoidscale_y_continuous(String... args) ggplot2 functionvoidscale_y_date(String... args) ggplot2 functionvoidscale_y_datetime(String... args) ggplot2 functionvoidscale_y_discrete(String... args) ggplot2 functionvoidscale_y_identity(String... args) ggplot2 functionvoidscale_y_log10(String... args) ggplot2 functionvoidscale_y_manual(String... args) ggplot2 functionvoidscale_y_reverse(String... args) ggplot2 functionvoidscale_y_sqrt(String... args) ggplot2 functionvoidScatterPlot3D(int Xcolumn, int Ycolumn, int Zcolumn) 3D scatter plotvoidScatterPlot3D(int Xcolumn, int Ycolumn, int Zcolumn, String Xlabel, String Ylabel, String Zlabel) 3D scatter plotvoidset legend positionvoidset the plot titlevoidsetXAxisLabel(String label) set x-axis labelvoidsetXAxisLimits(double min, double max) set x-axis limitsvoidsetYAxisLabel(String label) set y-axis labelvoidsetYAxisLimits(double min, double max) set y-axis limitsvoidsetZAxisLabel(String label) set z-axis labelvoidsetZAxisLimits(double min, double max) set z-axis limitsvoidshow()Opens the plot window (if not already open) and plots according to settings.voidStepPlot(int Xcolumn, int Ycolumn) wrapper for function geom_step(...)voidTable()plot tablevoidplot tablevoidplot tablevoidggplot2 functionvoidggplot2 functionvoidtheme_classic(String... args) ggplot2 functionvoidtheme_dark(String... args) ggplot2 functionvoidtheme_grey(String... args) ggplot2 functionvoidtheme_light(String... args) ggplot2 functionvoidtheme_linedraw(String... args) ggplot2 functionvoidtheme_minimal(String... args) ggplot2 functionvoidtheme_void(String... args) ggplot2 functionvoidggplot2 functionvoidggplot2 functionvoidggplot2 functionvoidggplot2 functionvoidggplot2 functionvoidggplot2 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:
datasetChangedin 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:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
SliderMouseReleasedEvent
public void SliderMouseReleasedEvent()- Specified by:
SliderMouseReleasedEventin interfaceSliderMouseReleasedListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
componentResized
- Specified by:
componentResizedin interfaceComponentListener
-
dispose
public void dispose()dispose instance- Specified by:
disposein interfaceDisposable
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
componentHidden
- Specified by:
componentHiddenin interfaceComponentListener
-
componentShown
- Specified by:
componentShownin interfaceComponentListener
-
componentMoved
- Specified by:
componentMovedin interfaceComponentListener
-