警告信息,“剪辑”不是图形参数

问题描述 投票:0回答:0

我尝试在 terra 中绘制此栅格时收到这些警告消息。我怀疑这与我的绘图参数设置有关,但更改绘图边距和 xpd 没有帮助。 有什么想法吗?

library(terra)
f <- system.file("ex/elev.tif", package="terra")
r <- rast(f)
plot(r)

警告信息: 1:在 plot.window(...) 中:“剪辑”不是图形参数 2:在 plot.xy(xy, type, ...) 中:“剪辑”不是图形参数 3: 在 title(...) 中:“剪辑”不是图形参数 警告信息: 1: 在 doTryCatch(return(expr), name, parentenv, handler) 中: “剪辑”不是图形参数

par()

$x日志 [1] 错误

$日志 [1] 错误

$调整 [1] 0.5

$安 [1] 正确

$问 [1] 错误

$背景 [1] “白”

$bty [1] “o”

$cex [1] 1

$cex.轴 [1] 1

$cex.lab [1] 1

$cex.main [1] 1.2

$cex.sub [1] 1

$辛 [1] 0.15 0.20

$列 [1]“黑色”

$列轴 [1]“黑色”

$col.lab [1]“黑色”

$col.main [1]“黑色”

$col.sub [1]“黑色”

$cra [1] 18 24

$crt [1] 0

$犯罪现场调查 [1] 0.2

$西西 [1] 0.03072334 0.02643172

$喧嚣 [1] 10.375 6.475

$错了 [1] 0

$家庭 [1] “”

$fg [1]“黑色”

$无花果 [1] 0 1 0 1

$鳍 [1] 10.375 6.475

$字体 [1] 1

$font.axis [1] 1

$font.lab [1] 1

$font.main [1] 2

$font.sub [1] 1

$实验室 [1] 5 5 7

$拉斯 [1] 0

$借出 [1] “圆”

$lheight [1] 1

$加入 [1] “圆”

$极限 [1] 10

$lty [1] “坚实”

$lwd [1] 1

$麦 [1] 0.4 0.4 0.4 0.8

三月 [1] 2 2 2 4

$墨西哥 [1] 1

$mfcol [1] 1 1

$制造商 [1] 1 1 1 1

$mfrow [1] 1 1

$mgp [1] 3 1 0

$百万 [1] 0.001

$新 [1] 错误

$奥玛 [1] 0 0 0 0

$奥姆 [1] 0 1 0 1

$奥米 [1] 0 0 0 0

$页 [1] 正确

$个人电脑 [1] 1

$别针 [1] 9.175 5.675

$plt [1] 0.03855422 0.92289157 0.06177606 0.93822394

$ps [1] 12

$企业 [1] “米”

$smo [1] 1

$srt [1] 0

$tck [1] NA

$tcl [1] -0.5

美元美元 [1] 5.197878 7.077122 49.441667 50.191667

$xxp [1] 5.5 7.0 3.0

$xaxs [1] “r”

$xxt [1] “s”

$xpd [1] NA

$yaxp [1] 49.5 50.1 6.0

$亚克斯 [1] “r”

$雅思特 [1] “s”

$伊比亚斯 [1] 0.2

sessionInfo()

R 版本 4.2.3 (2023-03-15 ucrt) 平台:x86_64-w64-mingw32/x64(64 位) 运行于:Windows 10 x64 (build 19044)

矩阵产品:默认

语言环境: [1] LC_COLLATE=English_Australia.utf8 LC_CTYPE=English_Australia.utf8 LC_MONETARY=English_Australia.utf8 [4] LC_NUMERIC=C LC_TIME=English_Australia.utf8

附基础包: [1] stats graphics grDevices utils 数据集方法 base

其他配套: [1] tidyterra_0.4.0 terra_1.7-18 amt_0.2.1.0 lubridate_1.9.2 forcats_1.0.0 stringr_1.5.0
[7] dplyr_1.1.0 purrr_1.0.1 readr_2.1.4 tidyr_1.3.0 tibble_3.2.0 tidyverse_2.0.0
[13] move_4.1.12 rgdal_1.6-5 raster_3.6-20 sp_1.6-0 geosphere_1.5-18 moveVis_0.10.5
[19] leafem_0.2.0 leaflet_2.1.2 mapview_2.11.0 rnaturalearth_0.3.2 ggspatial_1.1.8 gganimate_1.0.8
[25] gifski_1.6.6-1 sf_1.0-12 ggmap_3.0.2 ggplot2_3.4.1

通过命名空间加载(且未附加): [1] bitops_1.0-7 satellite_1.0.4 webshot_0.5.4 progress_1.2.2 httr_1.4.5 rprojroot_2.0.3
[7] tools_4.2.3 utf8_1.2.3 R6_2.5.1 KernSmooth_2.23-20 DBI_1.1.3 colorspace_2.1-0
[13] withr_2.5.0 tidyselect_1.2.0 prettyunits_1.1.1 curl_5.0.0 compiler_4.2.3 cli_3.6.0
[19] av_0.8.3 xml2_1.3.3 scales_1.2.1 classInt_0.4-9 pbapply_1.7-0 proxy_0.4-27
[25] digest_0.6.31 base64enc_0.1-3 jpeg_0.1-10 pkgconfig_2.0.3 htmltools_0.5.4 fastmap_1.1.1
[31] htmlwidgets_1.6.2 rlang_1.1.0 rstudioapi_0.14 farver_2.1.1 generics_0.1.3 jsonlite_1.8.4
[37] crosstalk_1.2.0 magrittr_2.0.3 Matrix_1.5-3 Rcpp_1.0.10 munsell_0.5.0 fansi_1.0.4
[43] lifecycle_1.0.3 stringi_1.7.12 plyr_1.8.8 grid_4.2.3 parallel_4.2.3 crayon_1.5.2
[49] lattice_0.20-45 cowplot_1.1.1 splines_4.2.3 hms_1.1.3 magick_2.7.4 pillar_1.9.0
[55] codetools_0.2-19 stats4_4.2.3 glue_1.6.2 tzdb_0.3.0 png_0.1-8 vctrs_0.6.0
[61] tweenr_2.0.2 Rdpack_2.4 RgoogleMaps_1.4.5.3 gtable_0.3.3 slippymath_0.3.1 cachem_1.0.7
[67] rbutils_2.2.13 lwgeom_0.2-11 e1071_1.7-13 class_7.3-21 survival_3.5-3 memoise_2.0.1
[73] units_0.8-1 timechange_0.2.0 here_1.0.1

clip terra
© www.soinside.com 2019 - 2024. All rights reserved.