Plots are distorted in R

I am plotting multiple raster images in R. The plots are distorted. The overall plot is tilted with some angle.

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version: 2023.03.1+446
  • OS Version: Windows 11
  • R Version: 4.2.
  • sessionInfo(): <R version 4.2.3 (2023-03-15 ucrt)
    Platform: x86_64-w64-mingw32/x64 (64-bit)
    Running under: Windows 10 x64 (build 22621)

Matrix products: default

locale:
[1] LC_COLLATE=English_India.utf8 LC_CTYPE=English_India.utf8 LC_MONETARY=English_India.utf8
[4] LC_NUMERIC=C LC_TIME=English_India.utf8

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

other attached packages:
[1] latticeExtra_0.6-30 terra_1.7-29 gridExtra_2.3 colorRamps_2.3.1 RColorBrewer_1.1-3
[6] rasterVis_0.51.5 lattice_0.20-45 sf_1.0-12 raster_3.6-20 sp_1.6-0
[11] ncdf4_1.21

loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 compiler_4.2.3 pillar_1.9.0 class_7.3-21 tools_4.2.3
[6] gtable_0.3.3 lifecycle_1.0.3 tibble_3.2.1 viridisLite_0.4.2 pkgconfig_2.0.3
[11] png_0.1-8 rlang_1.1.1 DBI_1.1.3 cli_3.6.1 rstudioapi_0.14
[16] rgdal_1.6-6 parallel_4.2.3 hexbin_1.28.3 interp_1.1-4 e1071_1.7-13
[21] dplyr_1.1.2 generics_0.1.3 vctrs_0.6.2 classInt_0.4-9 grid_4.2.3
[26] tidyselect_1.2.0 glue_1.6.2 R6_2.5.1 jpeg_0.1-10 fansi_1.0.4
[31] deldir_1.0-9 magrittr_2.0.3 codetools_0.2-19 units_0.8-2 KernSmooth_2.23-20
[36] utf8_1.2.3 proxy_0.4-27 zoo_1.8-12 >


Referred here from support.rstudio.com

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.