You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe how it works in R's ggplot2
Add geoms! This is a list of the currently non-implemented geoms that are available in ggplot2 in R. For the easier geoms, something similar to the RainCloud example in the ReadMe should get basic functionality working. From there:
Test that the geom is able to generate a few example plots
Add those as unit tests with corresponding Makie SpecApi plots (see test/test_geoms.jl for the general idea).
Add parameters to the legend dictionaries in src/attributes.jl
Add to the ggplot_to_makietranslation dict if there are options or aesthetics that need to be translated to what they are called in Makie
If there are options in the plot that require a specific type as input, add them to the type conversion dict
Add a reference documentation page. The one from the corresponding page in ggplot2 (or the one from the Makie.jl plot) should give a good starting point, or see the one for geom_pointhere.
See #182 for an example pull request that implements geom_rainclouds.
It's been a while since I've looked at the code base, but I'll try to knock out some of the easier geoms the next few days, and then I'll see about taking on the harder ones.
Describe how it works in R's
ggplot2
Add geoms! This is a list of the currently non-implemented geoms that are available in
ggplot2
in R. For the easier geoms, something similar to the RainCloud example in the ReadMe should get basic functionality working. From there:test/test_geoms.jl
for the general idea).src/attributes.jl
ggplot_to_makie
translation dict if there are options or aesthetics that need to be translated to what they are called in Makieggplot2
(or the one from theMakie.jl
plot) should give a good starting point, or see the one forgeom_point
here.See #182 for an example pull request that implements
geom_rainclouds
.Easier:
geom_abline
(See Makie.ablines)geom_segment
(See Makie.linesegments)geom_area
(See Makie.poly)geom_ribbon
(See Makie.band)geom_linerange
(See Makie.rangebars)geom_pointrange
(See Makie.rangebars and Makie.scatter)geom_polygon
(See Makie.poly)geom_rect
(See Makie.poly)geom_quantile
(See Makie.qqplot)geom_crossbar
(See Makie.crossbar)Harder (no direct match in base Makie, or calculations/arg handling required):
geom_blank
geom_bin2d
(See Makie.hexbin or Makie.heatmap)geom_hex
(See Makie.hexbin)geom_density2d
(See Makie.hexbin or Makie.heatmap)geom_jitter
(See Makie.Scatter or SwarmMakie.jl)geom_beeswarm
(SwarmMakie.jl)geom_sf
(See Makie.datashader?)geom_rug
geom_contour
(See Makie.contour and/or Makie.contourf)geom_freqpoly
(See Makie.lines?)Describe any changes you think should be made to R's version
These additional geoms should be doable without any major changes to Makie:
geom_arrows
(See Makie.arrows)geom_bracket
(See Makie.bracket)geom_contour3d
(See Makie.contour3d)geom_ecdf
(See Makie.ecdfplot)geom_span
(See Makie.vspan and Makie.hspan)geom_pie
(See Makie.pie)geom_pointline
(See Makie.scatterlines)geom_stem
(See Makie.stem)geom_streamplot
(See Makie.streamplot)geom_voronoi
(See Makie.voronoiplot)geom_waterfall
(See Makie.waterfallgeom_wireframe
(See Makie.wireframe)The text was updated successfully, but these errors were encountered: