corybrunson / ggalluvial

ggplot2 extension for alluvial plots
http://corybrunson.github.io/ggalluvial/
GNU General Public License v3.0
499 stars 34 forks source link

Antialiasing or similar problem #125

Closed dietmar113 closed 5 months ago

dietmar113 commented 11 months ago

dear all,

what could be the problem of the effect shown in the attached picture on the left side. some (anti)aliasing problem?

I use the cairo plot-device, tried different sizes and resolutions with png files. the problem is also in pdfs.

has someone a hint, what could be the problem and what to try?

I use RHEL 8, last R, last ggalluvial (see blow).

thank you!

plot

R version 4.3.2 (2023-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux 8.9 (Ootpa)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblaso-r0.3.15.so;  LAPACK version 3.9.0

locale:
 [1] LC_CTYPE=en_US.UTF-8          LC_NUMERIC=C                 
 [3] LC_TIME=en_US.UTF-8           LC_COLLATE=en_US.UTF-8       
 [5] LC_MONETARY=en_US.UTF-8       LC_MESSAGES=en_US.UTF-8      
 [7] LC_PAPER=en_US.UTF-8          LC_NAME=en_US.UTF-8          
 [9] LC_ADDRESS=en_US.UTF-8        LC_TELEPHONE=en_US.UTF-8     
[11] LC_MEASUREMENT=en_US.UTF-8    LC_IDENTIFICATION=en_US.UTF-8

time zone: Europe/Vienna
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggalluvial_0.12.5 ggplot2_3.4.4     rj_4.0.9-12      

loaded via a namespace (and not attached):
 [1] vctrs_0.6.5       cli_3.6.1         rlang_1.1.2       purrr_1.0.2      
 [5] generics_0.1.3    textshaping_0.3.7 labeling_0.4.3    glue_1.6.2       
 [9] rj.gd_4.0.9-10    colorspace_2.1-0  ragg_1.2.6        scales_1.3.0     
[13] fansi_1.0.5       grid_4.3.2        munsell_0.5.0     tibble_3.2.1     
[17] lifecycle_1.0.4   compiler_4.3.2    dplyr_1.1.4       pkgconfig_2.0.3  
[21] tidyr_1.3.0       systemfonts_1.0.5 farver_2.1.1      R6_2.5.1         
[25] tidyselect_1.2.0  utf8_1.2.4        pillar_1.9.0      magrittr_2.0.3   
[29] tools_4.3.2       withr_2.5.2       gtable_0.3.4     
corybrunson commented 11 months ago

Hi @dietmar113, thanks for raising the issue. I'm not familiar with aliasing, so the problem might be out of my depth. That said, i'll be glad to dig into a reproducible example if you can provide one.

corybrunson commented 5 months ago

Presumed resolved but please reopen if not!