我使用素食主義者進行DCA協調。我想展示我的分組網站,但是當我使用ordispider時,組的標籤隱藏了彼此。我怎樣才能調整自己的位置?是否有可能使用orditkplot莫名其妙?標籤與素食主義者的位置:: ordispider
1
A
回答
1
不,這是不可能的orditkplot()
與ordispider()
,它根本不知道如何處理這樣的任意繪圖功能。
您不指示爲什麼要使用ordispider()
在DCA排序中顯示您的分組網站?您不需要將它們加入某個質心或類似組中即可指示組成員資格。相反,您可以使用繪圖符號來區分組,例如
require("vegan")
data(dune)
data(dune.env)
mod <- decorana(dune)
plot(mod, display = "sites", type = "n")
## colour & shape according to Management
col <- c("red","orange","forestgreen","navy")
pch <- 1:4
## add the points
with(dune.env,
points(mod, display = "sites", col = col[Management],
pch = pch[Management]))
## add a legend
legend("topright",
legend = with(dune.env, levels(Management)),
col = col, pch = pch, title = "Management",
bty = "n")
另外,我想你可以不帶標籤的情節和後來加入他們,也許用locator()
識別的情節在其中放置標籤的透明區域,例如:
plot(mod, display = "sites", type = "p")
with(dune.env, ordispider(mod, groups = Management, col = "red"))
## select 4 locations
coords <- locator(with(dune.env, length(levels(Management))))
## now you have to click on the plot where you want the labels
## automagically finishes after you click the 4th label in this case
## draw labels
text(coords, labels = with(dune.env, levels(Management)))
0
您是否從vegan
vignette嘗試了以下方法?
2.1. Cluttered plots
Ordination plots are often congested: there is a large number of sites and species, and it may be impossible to display all clearly. In particular, two or more species may have identical scores and are plotted over each other. Vegan does not have (yet?) automatic tools for clean plotting in these cases, but here some methods you can try:
- Zoom into graph setting axis limits xlim and ylim. You must typically set both, because
vegan will maintain equal aspect ratio of axes.
- Use points and add labell only some points with identify command.
- Use select argument in ordination text and points functions to only show the specied
items.
- Use ordilabel function that uses opaque background to the text: some text labels will
be covered, but the uppermost are readable.
- Use automatic orditorp function that uses text only if this can be done without overwriting
previous labels, but points in other cases.
+0
謝謝,但它似乎只能改變它的作用 – user2389100
相關問題
- 1. 素食主義者包裝點顏色
- 2. ggplot2 for procrustes旋轉素食主義者
- 3. 素食主義者:: ordiR2step()找不到最適合的模型
- 4. R在素食主義者的大距離矩陣
- 5. 返回一個素食主義者的列表
- 6. 多重比較的選項素食主義者阿多尼斯
- 7. 在素食主義者中配對觀察的PRC分析
- 8. 素食主義者包中的vegdist錯誤消息
- 9. 在ggplot中繪製RDA(素食主義者)
- 10. cca使用素食主義者:沒有無約束慣性
- 11. 從素食主義者adonis功能不起作用
- 12. 如何處理缺失值錯誤 - 素食主義者:: rda()
- 13. 在ordihull素食主義者包裹中更改線條粗細
- 14. 加載素食主義者圖書館時出錯
- 15. R素食主義者CCA,確定哪些限制是別名?
- 16. R素食主義者simper分析:修改距離矩陣
- 17. NMDS顯示和點符號問題(素食主義者)
- 18. 在素食主義者口譯procrustes輸出
- 19. 使用hgsubversion重定義分支,標籤和主幹的位置
- 20. 自定義jQRangeSlider標籤的位置
- 21. 標籤的位置
- 22. 沒有穩定的解決方案在素食主義者中使用metaMDS()
- 23. 如何可視化素食主義者製作的距離矩陣?
- 24. 自定義JSTL標籤與主體
- 25. 自定義音頻標籤位置
- 26. 自定義數據標籤位置CPTBarPlot
- 27. 自定義UITableviewCell標籤位置
- 28. .NET Charting自定義標籤位置
- 29. 素食主義者adonis不平衡設計SS類型II或III
- 30. 你如何使一個因素顯示爲符號,另一個因素是nMDS(素食主義者)的顏色?
的網站或物種的標籤!謝謝 – user2389100