Comments (5)
@thomasp85 Can you chime in here please?
from ggstance.
these are just oversight - can you provide an example of using position_dodge that doesn't work as expected with flipped orientation?
from ggstance.
OK,I was wrong about the first - position_dodge
does seem to work (although it would be good to have a documentation patch: "Dodging preserves the vertical position of an geom while adjusting the horizontal position" is now an incomplete description of what position_dodge
does ...)
However, the orientation of segments in the legends is still an issue (see also here and here)
thanks
library(ggplot2)
dd <- data.frame(x=1:4,y=rep(1:2,each=2),
xlo=(1:4)-0.5,
xhi=(1:4)+0.5,
f=factor(rep(letters[1:2],2))
)
ggplot(dd,aes(x,y,colour=f)) +
geom_pointrange(aes(xmin=xlo,xmax=xhi),
position=position_dodge(0.1))
library(ggstance)
ggplot(dd,aes(x,y,colour=f)) +
geom_pointrangeh(aes(xmin=xlo,xmax=xhi),
position=position_dodgev(0.1))
from ggstance.
I don't know if you do or don't want "bumps" (if not, I apologize) but I've just encountered this issue again ... this could possibly be fixed/worked around by adding a new key_glyph
option ?
from ggstance.
ggstance is no longer under development so this issue would belong in ggplot2. Unfortunately I can't transfer issues to another organisation. Could you reopen in tidyverse/ggplot2
please?
from ggstance.
Related Issues (20)
- x y axis issue HOT 6
- Modify bars in `geom_pointrangeh` HOT 1
- Would it be possible to add an hjust argument to position_stackv to automate text label positioning in stacked horiztonal bar plots? HOT 1
- Broken 'geom_barh' or stupid user? HOT 1
- Tests fail in dev ggplot2
- Order of items in legend HOT 6
- Should stat_counth() be exported? HOT 1
- differences between Geomerrorbarh in ggplot2 and ggstance HOT 2
- document aesthetics?
- ggstance error with height argument (All height aesthetics in ggplot no longer work if ggstance is loaded) HOT 1
- geom_violinh fails with warning to "Please use `to_lower_ascii()`" with newly-released ggplot2 HOT 3
- Update vdiffr test cases for new ggplot2 release
- Warning: Ignoring unknown parameters: height
- The coord_flip() function not well in geom_signif, is it possible to use ggstance to solve?
- Is this possible to achieve this with the ggplot2 3.3.0?
- Is it possible to achieve a histogram with a horizontal boxplot in the ggplot2 3.3.0? HOT 1
- question, not issue HOT 1
- Revdepcheck failure with upcoming ggplot2 version HOT 1
- 'scales' dependency is absent from DESCRIPTION
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 ggstance.