Try the following tutorials and examples to learn and evaluate various features of the Lets-Plot
library.
- Quickstart and User Guide
- Geoms and Stats
- Position Adjustment
- Scales
- Time Series
- Facets
- Coordinate Systems
- Grouping Plots
- Ordering categories,
asDiscrete()
function - Export to File
- Formatting
- Themes
- Data Sampling
- Tooltip Customization
- Correlation Plot
- GeoTools Support
geomHistogram, geomDensity, geomVLine, geomFreqpoly, geomBoxplot
:
geomViolin()
geom_violin.ipynb
geomDotplot()
geom_dotplot
geomYDotplot()
geom_ydotplot.ipynb
geomErrorBar, geomLine, geomPoint, geomBar, geomCrossbar, geomLineRange, geomPointRange
:
geomPoint, geomSmooth (statSmooth)
:
geomDensity2D, geomDensity2DFilled, geomBin2D, geomPolygon, geomPoint
:
geomTile, geomContour, geomPolygon (Stat.contour), geomContourFilled
:
geomText
, label format
positionDodge
: error_bars.ipynbpositionJitter
: scatter_plot.ipynb
scaleColorManual, scaleFillManual
: error_bars.ipynbscaleXContinuous, scaleShapeManual
: scatter_plot.ipynbscaleColorGradient
: density_2d.ipynbscaleFillHue, scaleFillGrey, scaleColorGradient
: contours.ipynb
scaleXDatetime(), scaleYDatetime(), scaleYTime(), scaleYTime()
facetGrid(), facetWrap()
coordCartesian(), coordFixed(), coordMap(), coordFlip()
GGBunch
GGBunch allows to show a collection of plots on one figure. Each plot in the collection can have arbitrary location and size. There is no automatic layout inside the bunch.
gggrid()
A simple utility which you can use to arrange plots in a regular grid.
The ggsave()
function is an easy way to export plot to a file in SVG, HTML or raster formats.
Named themes: themeGrey(), themeLight(), themeClassic(), themeMinimal()
and themeMinimal2()
(used by default).
Use the theme()
function to modify components of a theme.
Sampling is a special technique of data transformation, which helps dealing with large datasets and overplotting.
See: Sampling in Lets-Plot.
- Pick sampling on Bar-chart: sampling_pick.ipynb
- Stratified sampling: sampling_stratified.ipynb
See GeoTools Support.