Forum: help
Monitor Forum | Start New ThreadRE: triangle font and points [ Reply ] By: ETTORE TETO on 2012-11-28 08:56 | [forum:36859] |
works very well. Thank you!!!!!!! |
RE: triangle font and points [ Reply ] By: Julien Moeys on 2012-11-27 19:51 | [forum:36697] |
Hi Ettore The argument "cex.lab" allows you to expand or reduce the size of labels in TT.plot(), both in the texture classes and for the axis labels. If you just want to tune only the texture class labels (and not the axis labels), you need to plot the diagram in 2 steps: first an empty triangle, and then the texture classes (not very convenient, I agree!) Regarding the point aesthetics, you probably need "cex", or "pch" or "col". You can either plot your different sets of points one after the other, with each time a specific "col" or "pch", or you can provide a vector of values of the same length as the number of points (one for each points). See the examples below. I hope that answer you question! With best /Julien ### R code example library( "soiltexture" ) TT.plot( class.sys = "ISSS.TT", cex.lab = .5 ) ## OR geo <- TT.plot(class.sys="none") TT.classes( geo = geo, class.sys = "ISSS.TT", cex.lab = .5 ) # Polish the appearance TT.edges( geo = geo, frame.bg.col = NA ) # Now add some data points # and tune their apperanace dat <- data.frame( "CLAY" = c(60,20,20), "SILT" = c(20,60,20), "SAND" = c(20,20,60) ) TT.points( geo = geo, tri.data = dat, pch = c(1,2,3), col = c("red","green","blue"), cex = c(1,2,3) ) ## OR TT.plot( class.sys = "ISSS.TT", tri.data = dat, pch = c(1,2,3), col = c("red","green","blue"), cex = c(1,2,3) ) ### End of R code |
triangle font and points [ Reply ] By: ETTORE TETO on 2012-11-27 08:55 | [forum:36691] |
Hi all, i have two questions about soiltexture. First i would like to modify the isss dimension of the fonts inside the triangle. It's just an esthetic problem but in my graph the fonts inside the triangle (HCI LCI...) are too big. The secon problem: i would like to represent different texture point, but one of this point must be represented different (dimension or color of the point) tanks to all |