geomtextpath
geomtextpath copied to clipboard
Create curved text paths in ggplot2
This code used to work.. So maybe this relates to the ggplot2 update? ``` r library(tidyverse) library(geomtextpath) expand.grid(x = 1:nrow(volcano), y = 1:ncol(volcano)) |> mutate(z = c(volcano)) |> ggplot(aes(x =...
> sessionInfo() R version 4.3.3 (2024-02-29) Platform: aarch64-apple-darwin20 (64-bit) Running under: macOS Sonoma 14.4 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0 locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 time zone: America/New_York...
Allan, I was really happy when I discovered your library, in my case especially when I saw the examples with geom_textsf and geom_labelsf (https://allancameron.github.io/geomtextpath/). When I try to execute the...
geom_labelvline and geom_labelhline are very useful tools for setting baselines/thresholds and annotating them. In the case of the vertical line options it seems like it would be appealing to be...
Hi, Thanks for developing this nice package! I didn't see a simple answer, and maybe this was not the point of this package, but isn't there a simple way to...
i met this issue during librarying, and tried to use old version of geomtextpath and ggplot2, but not succeeded to tackle this issue.
Hi all, The code below works perfectly. ``` tibble(class = c("Class 1", "Class 2"), y = c(1:2), x1 = c(10,11), x2 = c(17,15)) %>% ggplot(aes(x=x1, xend=x2, y=y, yend=y, label=class))+ geom_textsegment()...
When the label is too long, I get "Error: Cannot create zero-length unit vector ("unit" subsetting)". What is "too long" seems to be device/resolution dependent as the same code worked...
First: thanks for a great extension to ggplot2! Extremely useful. A small potential bug:- I suspect that geom_textsf does not respect remove_long=F param (and perhaps some other params?), based on...
Running the following: ```r withr::with_options(list( warnPartialMatchDollar = TRUE, warn = 2 ), { plt ggplot2::ggplot(ggplot2::aes(x = rating, y = complaints)) + ggplot2::geom_point() + geomtextpath::geom_textsegment( x = 80, y = 80,...