Skip to content

Releases: nevrome/ggpointgrid

Release list

v2.0.0

Choose a tag to compare

@nevrome nevrome released this 19 May 15:45
d8ea666
  • implemented a type-based distinction of the two modes of grid_x and grid_y: Integer grid length mode has to be triggered explicitly now by giving an integer with a trailing L, e.g. 10L (this is a breaking change!)
  • added two new geoms geom_labelgrid() and geom_segmentgrid()
  • defined a custom ggplot2 stat stat_grid_arrange() that does the hard work of the grid arrangement for the geoms
  • implemented an interface for stat_grid_arrange() and therefore the geoms, which allows to
    • set grid parameters per axis or directly provide the grid
    • set polygons to which the grid is filtered
    • rescale the axes to improve the arrangement if x and y are on very different numeric scales
  • added a function filter_grid_in_polygons() to filter a grid to those points falling inside polygonal regions supplied as sf geometries (sf is a suggested dependency now)
  • remodelled the calling of the futhark code to support a second module underpinning filter_grid_in_polygons()
  • switched to the latest futhark version 0.26.1, which required minor adjustments of the Rcpp bridge code
  • fixed a bug that caused the coord limits not to be adjusted after the grid arrangement, which could lead to silently hidden grid-arranged points
  • added more documentation and examples to demonstrate the new functionality

v1.4.0

Choose a tag to compare

@nevrome nevrome released this 06 Sep 13:15
  • switched to a futhark (https://futhark-lang.org) implementation of the arrangement algorithm behind geom_pointgrid()
  • added a direct interface for this algorithm: arrange_points_on_grid()
  • added the helper function make_grid_sequence() for coordinate sequence preparation