Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
21b3215
Add links to the new 'aesthetics' notebooks to the Aesthetics and Cha…
ASmirnov-HORIS Nov 10, 2025
b754ff2
Add new API functions to the pages Charts, Geospatial Charts and Pres…
ASmirnov-HORIS Nov 10, 2025
64c4c38
Add new cookbooks to the pages Charts and Multiple Plots.
ASmirnov-HORIS Nov 10, 2025
a7f715b
Merge branch 'master' into documentation
ASmirnov-HORIS Nov 11, 2025
40bba71
Split examples on the pages Charts / Multiple Plots / Presentation Op…
ASmirnov-HORIS Nov 11, 2025
810660a
Merge branch 'master' into documentation
ASmirnov-HORIS Nov 11, 2025
f8d48b8
Merge branch 'master' into documentation
ASmirnov-HORIS Nov 11, 2025
f13cf55
KDocs: Mention support of the "pointdensity" geom in the residualPlot().
ASmirnov-HORIS Nov 11, 2025
91759c6
Update the library version in docs.
ASmirnov-HORIS Nov 11, 2025
b62b9b8
Small fix in the 'Building Documentation with Dokka and Writerside' d…
ASmirnov-HORIS Nov 11, 2025
77754f8
Merge branch 'master' into documentation
ASmirnov-HORIS Nov 11, 2025
437a774
Another small fix in the 'Building Documentation with Dokka and Write…
ASmirnov-HORIS Nov 12, 2025
bd6142c
Update links to the new cookbooks.
ASmirnov-HORIS Nov 12, 2025
462a7a9
Merge branch 'master' into documentation
ASmirnov-HORIS Nov 14, 2025
6941149
Fix links to the release notebooks.
ASmirnov-HORIS Nov 14, 2025
31c1e72
Remove the stat_data_bijection example from the Charts page.
ASmirnov-HORIS Nov 14, 2025
45e8258
Merge branch 'master' into documentation
ASmirnov-HORIS Dec 1, 2025
6cae0e9
KDocs: new descriptions for the scaleXxxIdentity() and elementXxx() f…
ASmirnov-HORIS Dec 1, 2025
3a16263
Remove extra link from the KDocs of the geomErrorBar().
ASmirnov-HORIS Dec 2, 2025
72a1dbb
Merge branch 'master' into documentation
ASmirnov-HORIS Dec 3, 2025
d9bccc5
Update links to the new cookbooks.
ASmirnov-HORIS Dec 3, 2025
bb9aa81
Rebuild the html versions of the new notebooks (for the v4.12.0).
ASmirnov-HORIS Dec 3, 2025
a37f965
Update the 'What is new' page.
ASmirnov-HORIS Dec 3, 2025
849c625
Dokka: Add links to the new notebooks.
ASmirnov-HORIS Dec 3, 2025
cab6c3d
KDocs: Remove extra link from the examples for the positionDodgeV() f…
ASmirnov-HORIS Dec 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion Writerside/topics/aesthetics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@

![Point shapes](aesthetics_shape.png)

See [example notebook](%nb-aesthetics-point_shapes%).

## Line Types

### Predefined Patterns

![Predefined line types](aesthetics_linetype.png)

See [example notebook](%nb-aesthetics-line_types-predefined_patterns%).

### Custom Patterns

Ways to specify the `linetype`:
Expand All @@ -20,6 +24,8 @@ Ways to specify the `linetype`:

![Custom line types](aesthetics_custom_linetype.png)

See [example notebook](%nb-aesthetics-line_types-custom_patterns%).

## Text

### Font Family
Expand All @@ -32,12 +38,16 @@ The default font family is `'sans'`.

You can also use the name of any other font installed on your system (e.g. `"Times New Roman"`).

See [example notebook](%nb-aesthetics-text_style-font_family%).

### Font Face

![Font faces](aesthetics_font_face.png)

The default font face is `'plain'`.

See [example notebook](%nb-aesthetics-text_style-font_face%).

## Color and Fill

Colors and fills of geometries can be specified in the following ways:
Expand All @@ -64,4 +74,6 @@ Colors and fills of geometries can be specified in the following ways:
</li>
</list>

- An instance of the `java.awt.Color` class.
- An instance of the `java.awt.Color` class.

See [example notebook](%nb-aesthetics-system_colors%).
49 changes: 33 additions & 16 deletions Writerside/topics/charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ You can pass tidy data to *Lets-Plot* in form of a Kotlin `Map`.

- <a href="aesthetics.md#text">Text</a>

Cookbooks:

- [Point shapes](%nb-aesthetics-point_shapes%)
- [Line types](%nb-aesthetics-line_types%)
- [System colors](%nb-aesthetics-system_colors%)
- [Text](%nb-aesthetics-text_style%)
- [Overriding default grouping with the group aesthetic](%nb-group_override_defaults%)

## Basic Building Blocks

Points:
Expand Down Expand Up @@ -59,9 +67,9 @@ Text:
[`label`](%api_geom%/geom-label/index.html),
[`label repel`](%api_geom%/geom-label-repel/index.html)

Examples:
Cookbooks:

- [Inset map of Kotlin island](%nb-spatialdataset_kotlin_isl%)
- [Missing values: line, path, area, and ribbon](%nb-missing_values_line_path_area_ribbon%)
- [Drawing graph edges](%nb-graph_edges%)
- [Formatting labels on plots](%nb-formatting_axes_etc%)
- [Text geoms](%nb-text_geoms%)
Expand All @@ -77,6 +85,10 @@ Examples:
- [`stroke` aesthetic](%nb-aes_stroke%)
- [Configuring nudge units in position adjustments](%nb-position_nudge_unit%)

Demos:

- [Inset map of Kotlin island](%nb-spatialdataset_kotlin_isl%)


## Discrete

Expand All @@ -89,7 +101,7 @@ Examples:
Learn more:
<a href="as_discrete.md">Working with Categorical Variables and the <format style="bold">asDiscrete()</format> Function</a>

Examples:
Cookbooks:

- [Barchart](%nb-bar%)
- [Pie-chart](%nb-geom_pie%)
Expand All @@ -109,7 +121,7 @@ Examples:
[`contours`](%api_geom%/geom-contour/index.html),
[`filled contours`](%api_geom%/geom-contour-filled/index.html)

Examples:
Cookbooks:

- [Contours](%nb-contours%)

Expand All @@ -125,7 +137,7 @@ Examples:
[`ridgeline`](%api_geom%/geom-area-ridges/index.html),
[`frequency polygon`](%api_geom%/geom-freqpoly/index.html)

Examples:
Cookbooks:

- [Distributions](%nb-distributions%)
- [Dotplot geometry](%nb-geom_dotplot%)
Expand All @@ -143,7 +155,7 @@ Examples:
[`statSummary()`](%api_stat%/stat-summary/index.html),
[`statSummaryBin()`](%api_stat%/stat-summary-bin/index.html)

Examples:
Cookbooks:

- [ECDF stat](%nb-stat_ecdf%)
- [Summary stat](%nb-stat_summary%)
Expand All @@ -154,7 +166,7 @@ Examples:

[`function`](%api_geom%/geom-function/index.html)

Examples:
Cookbooks:

- [Function geometry](%nb-geom_function%)

Expand All @@ -166,7 +178,7 @@ Examples:
[`linerange`](%api_geom%/geom-line-range/index.html),
[`pointrange`](%api_geom%/geom-point-range/index.html)

Examples:
Cookbooks:

- [Plotting means and error ranges](%nb-error_bars%)
- [Geometries with dual orientation](%nb-horizontal_geoms%)
Expand All @@ -176,7 +188,7 @@ Examples:

[`smoothing line`](%api_geom%/geom-smooth/index.html)

Examples:
Cookbooks:

- [Smoothing](%nb-geom_smooth%)
- [Draw a scatter plot](%nb-scatter_plot%)
Expand All @@ -187,12 +199,14 @@ Examples:
[`2d bins`](%api_geom%/geom-bin2-d/index.html),
[`2d hexagonal bins`](%api_geom%/geom-hex/index.html),
[`2d density`](%api_geom%/geom-density2-d/index.html),
[`filled 2d density`](%api_geom%/geom-density2-d-filled/index.html)
[`filled 2d density`](%api_geom%/geom-density2-d-filled/index.html),
[`pointdensity`](%api_geom%/geom-point-density/index.html)

Examples:
Cookbooks:

- [2d density](%nb-density_2d%)
- [Hexagonal heatmap](%nb-geom_hex%)
- [Pointdensity geometry](%nb-geom_pointdensity%)
- [Absolute unit specification for width and height aesthetics](%nb-param_width_unit%)


Expand All @@ -202,7 +216,7 @@ Examples:

See also: [Joint Plot](bistro.md#joint-plot), [Residual Plot](bistro.md#residual-plot).

Examples:
Cookbooks:

- [Marginal plots](%nb-marginal_layers%)

Expand Down Expand Up @@ -239,18 +253,21 @@ This is in contrast to R's ggplot2, which provides separate "date", "time", and

- `Date`

Examples:
Cookbooks:

- [Scale time](%nb-scale_time%)
- [Plotting time series](%nb-time_date_datetime%)

Demos:

- [Bitcoin daily trend visualization](%nb-trading_chart%)


## Images

[`geomImshow()`](%api_geom%/geom-imshow.html)

Examples:
Cookbooks:

- [`geomImshow()`](%nb-image_101%)
- [The `extent` parameter](%nb-image_extent%)
Expand All @@ -266,7 +283,7 @@ Examples:
[`coordFlip()`](%api_coord%/coord-flip.html),
[`coordMap()`](%api_coord%/coord-map.html)

Examples:
Cookbooks:

- [Flipped coordinates](%nb-coord_flip%)
- [Polar coordinate system](%nb-coord_polar%)
Expand All @@ -279,7 +296,7 @@ Examples:
[`guides()`](%api_scale%/guides.html),
[`layerKey()`](%api_scale%/layer-key.html)

Examples:
Cookbooks:

- [Legend customization](%nb-legend%)
- [Manual legend](%nb-manual_legend%)
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/geospatial_charts.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The *Lets-Plot* library recognizes the following three 2D-geometry types:

These shapes can be plotted using various geometry layers that depend on the type of the shape:

- Points : [`geomPoint`](%api_geom%/geom-point/index.html), [`geomText`](%api_geom%/geom-text/index.html), [`geomLabel`](%api_geom%/geom-label/index.html), [`geomPie`](%api_geom%/geom-pie/index.html)
- Points : [`geomPoint`](%api_geom%/geom-point/index.html), [`geomText`](%api_geom%/geom-text/index.html), [`geomLabel`](%api_geom%/geom-label/index.html), [`geomPointDensity`](%api_geom%/geom-point-density/index.html), [`geomPie`](%api_geom%/geom-pie/index.html)
- Lines : [`geomPath`](%api_geom%/geom-path/index.html)
- Polygons : [`geomPolygon`](%api_geom%/geom-polygon/index.html), [`geomMap`](%api_geom%/geom-map/index.html). [`geomRect`](%api_geom%/geom-rect/index.html) when used with Polygon shapes displays corresponding bounding boxes.

Expand Down
14 changes: 9 additions & 5 deletions Writerside/topics/multiplot.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,28 @@
- [`facetGrid()`](%api_facet%/facet-grid.html) - split data by one or two variables that vary in the X and/or Y direction.
- [`facetWrap()`](%api_facet%/facet-wrap.html) - split data by one or more variables with extra flexibility.

Examples:
Cookbooks:

- [Multipanel plots with facets](%nb-facets%)

## `ggbunch`

- [`ggbunch`](%api_lets_plot%/ggbunch.html) - create a collection of plots that can have arbitrary location and size.

Examples:
Cookbooks:

- [Inset map of Kotlin island](%nb-spatialdataset_kotlin_isl%)
- [The `ggbunch()` function](%nb-ggbunch%)

Demos:

- [Inset map of Kotlin island](%nb-spatialdataset_kotlin_isl%)

## `gggrid`

- [`gggrid`](%api_lets_plot%/gggrid.html) - combines several plots on one figure, organized in a regular grid.

Examples:
Cookbooks:

- [The `gggrid()` function](%nb-plot_grid%)
- [Sharing X,Y-axis scale limits](%nb-gggrid_scale_share%)
- [Sharing X,Y-axis scale limits](%nb-gggrid_scale_share%)
- [Collecting guides in gggrid()](%nb-gggrid_legend_collect%)
11 changes: 6 additions & 5 deletions Writerside/topics/presentation_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[`guideColorbar()`](%api_scale%/guide-colorbar.html),
[`guides()`](%api_scale%/guides.html)

### Examples
### Cookbooks

- [Themes overview](%nb-themes%)
- [Default theme](%nb-default_theme%)
Expand All @@ -34,7 +34,7 @@

[`minimal2`](%api_theme%/theme-minimal2.html),
[`bw`](%api_theme%/theme-b-w.html),
[`grey`](%api_theme%/theme-grey.html),
[`grey`](%api_theme%/theme-grey.html) (or [`gray`](%api_theme%/theme-gray.html)),
[`classic`](%api_theme%/theme-classic.html),
[`light`](%api_theme%/theme-light.html),
[`minimal`](%api_theme%/theme-minimal.html),
Expand All @@ -45,7 +45,7 @@
<img alt="All predefined themes" src="complete_themes.png" style="block"/>
</a>

### Predefined Themes Examples
### Predefined Themes Cookbooks

- [Default theme](%nb-default_theme%)
- [Themes overview](%nb-themes%)
Expand All @@ -62,13 +62,14 @@
[`solarized light`](%api_theme%/flavor-solarized-light.html),
[`solarized dark`](%api_theme%/flavor-solarized-dark.html),
[`high contrast light`](%api_theme%/flavor-high-contrast-light.html),
[`high contrast dark`](%api_theme%/flavor-high-contrast-dark.html)
[`high contrast dark`](%api_theme%/flavor-high-contrast-dark.html),
[`standard`](%api_theme%/flavor-standard.html)

<a href="%nb-geom_theme_colors%">
<img alt="Theme colors for geometries" src="flavors.png" style="block"/>
</a>

### Flavors Examples
### Flavors Cookbooks

- [Theme flavors](%nb-theme_flavors%)
- [Themes overview](%nb-themes%)
Expand Down
Loading