Skip to contents

ggwatercolor 0.1.0

  • geom_hachure() gains a clip argument for the only land that can get lines. It keeps lines out of a sea that has heights and not missing values.
  • New alaska dataset holds outlines of Alaska and the nearby parts of Canada and Russia. New alaska_elevation() reads elevation data for the same land. They give a large area of land for examples.
  • The “Get started” article is now two articles: vignette("maps") for washes, fills, and relief, and vignette("charts") for the chart geoms.
  • geom_hachure() gains an exaggeration argument, which multiplies the heights before the slopes are measured. Maps of large areas need it to get lines. exaggeration = "auto" chooses the value from the land in view.
  • geom_sf_wash() gains mask and mask_tolerance arguments. mask is land that must get no wash, which keeps a coastal wash off land borders.
  • geom_hachure() gains a mask argument for land that must get no lines.
  • geom_hachure() gains light and light_strength arguments. light sets a compass bearing for the light, which makes lines thinner on slopes that face the light and heavier on slopes that face away.
  • New geom_line_watercolor() and geom_path_watercolor() paint each line as a brush stroke whose width changes along the line.
  • New geom_point_watercolor() draws points as small discs of paint. New geom_smooth_watercolor() paints the confidence band of a smooth as a wash and the fitted line as a brush stroke.
  • New geom_hachure() shows land relief with hachures, fine ink lines that run down each slope. New hawaii_elevation() reads example elevation data for it.
  • geom_sf_wash() and the watercolor fill geoms gain a monochrome argument. monochrome = TRUE paints in greys of the same lightness as the colours.
  • New hawaii dataset holds outlines of the eight main Hawaiian islands.
  • New draw_key_watercolor() draws legend keys as painted swatches. It is the default key for the watercolor fill geoms.
  • ggwatercolor now lowers the resolution of very large panels, with a warning, to limit memory use. The ggwatercolor.max_cells option sets the limit.
  • New geom_polygon_watercolor(), geom_col_watercolor(), geom_area_watercolor(), and geom_density_watercolor() bring watercolor fills to ordinary plots.
  • The watercolor geoms gain a blend argument. blend = "multiply" darkens the paint where painted areas in a layer overlap, on any graphics device.
  • theme_paper() and theme_paper_void() accept paper = "warm" for a yellower paper than the default "neutral".
  • New element_paper() draws a theme background with the fine tooth of watercolor paper.
  • New theme_paper() and theme_paper_void() give plots an off-white paper background and dark brown ink, with an optional paper texture.
  • New geom_sf_watercolor() fills simple features with uneven, brush-like paint, either feature by feature or for all features that share a fill.
  • New geom_sf_wash() paints a soft watercolor wash along the edges of simple features, such as the coastal tint on archival maps.