使用R繪製三元相圖(Ternary plot)結合等高線圖(topographic map)
LHB阿好伯, 11/22, 2019
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
三元相圖是帶有三個變量的三角圖,它們通常用於化學,岩石學,礦物學,冶金學,材料科學等領域
特色為其中任一點的三變量總合為100
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
首先準備好所需的數據格式
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
啟動Rstudio安裝所需的套件
讀取所準備好的CSV檔
執行程式碼繪製我們需要的三元相圖
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
參考資料
ggtern: ternary diagrams in R: What is ggtern?
Ternary Interpolation / Smoothing
Nicholas Hamilton
ggtern contour plot in R - Stack Overflow
Plotting ternary diagrams with ggtern
Hartmann, K., Krois, J., Waske, B. (2018)
全文分享至
https://www.facebook.com/LHB0222/
有疑問想討論的都歡迎於下方留言
喜歡的幫我分享給所有的朋友 \o/
有所錯誤歡迎指教
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →