Comments (2)
ids <- factor(c("1.1", "2.1", "1.2", "2.2", "1.3", "2.3"))
values <- data.frame(
id = ids,
value = c(3, 3.1, 3.1, 3.2, 3.15, 3.5)
)
positions <- data.frame(
id = rep(ids, each = 4),
x = c(2, 1, 1.1, 2.2, 1, 0, 0.3, 1.1, 2.2, 1.1, 1.2, 2.5, 1.1, 0.3,
0.5, 1.2, 2.5, 1.2, 1.3, 2.7, 1.2, 0.5, 0.6, 1.3),
y = c(-0.5, 0, 1, 0.5, 0, 0.5, 1.5, 1, 0.5, 1, 2.1, 1.7, 1, 1.5,
2.2, 2.1, 1.7, 2.1, 3.2, 2.8, 2.1, 2.2, 3.3, 3.2)
)
datapoly <- merge(values, positions, by = c("id"))
datapoly |>
gg_polygon(
x = x,
y = y,
col = value,
group = id,
)
from ggblanket.
Leave as is
from ggblanket.
Related Issues (20)
- add facet_switch argument HOT 1
- polygons don't dodge that well with an outline
- y scale reversing causes problems where facet_scales = "free" or "free_y" HOT 1
- docs: saving plots
- weave_geom_defaults: how to manage alpha HOT 7
- log breaks defaults: consider making log breaks default to `scales::breaks_log` HOT 2
- log: support symmetric axes HOT 2
- consider supporting using colorspace::lighten for fill
- `*_palette`: support `col_palette_colour` and `col_palette_fill` HOT 11
- weave_geom_defaults: update tile/bin2d once ggplot makes a bin2d ggproto object
- add `aes_colour_*()` and and `aes_fill_*()` etc HOT 1
- `element_line_transparent`: consider exporting HOT 2
- facet_position: 1 arg for wrap and grid
- gg_blanket: if col is specified and a factor need to take the number of levels, rather than from plot_data
- docs: tidy up more examples
- website is down HOT 1
- minor ticks length is to too long HOT 1
- show.legend cannot be adjusted when needed
- docs: how to add a legend for plots that don't need a legend
- gg_smooth: remove se = TRUE from examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggblanket.