Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i combine all the plots in one layout ??? #57

Open
ALOMASSI opened this issue Jun 1, 2023 · 0 comments
Open

how can i combine all the plots in one layout ??? #57

ALOMASSI opened this issue Jun 1, 2023 · 0 comments

Comments

@ALOMASSI
Copy link

ALOMASSI commented Jun 1, 2023

i have tried this script but it doesn't work :

library(yarrr)

cf <- pirateplot(formula = Cf (m) ~ VerSts,
data = massi,
main = "Circonférence (m)",
theme= 1,
bean.f.o = .6, # Bean fill
point.o = .3, # Points
inf.f.o = .7, # Inference fill
inf.b.o = .8, # Inference border
avg.line.o = 1, # Average line
bar.f.o = .5, # Bar
inf.f.col = "white", # Inf fill col
inf.b.col = "black", # Inf border col
avg.line.col = "black", # avg line col
bar.f.col = gray(.8), # bar filling color
point.pch = 21,
point.bg = "white",
point.col = "black",
point.cex = .7)
Ht <- pirateplot(formula = HT ~ Ver
Sts,
data = massi,
main = "Hauteur totale de l’arbre (m)",
theme= 1,
bean.f.o = .6, # Bean fill
point.o = .3, # Points
inf.f.o = .7, # Inference fill
inf.b.o = .8, # Inference border
avg.line.o = 1, # Average line
bar.f.o = .5, # Bar
inf.f.col = "white", # Inf fill col
inf.b.col = "black", # Inf border col
avg.line.col = "black", # avg line col
bar.f.col = gray(.8), # bar filling color
point.pch = 21,
point.bg = "white",
point.col = "black",
point.cex = .7)
LH <- pirateplot(formula = Long. H ~ VerSts,
data = massi,
main = "Longueur du houppier (m)",
theme= 1,
bean.f.o = .6, # Bean fill
point.o = .3, # Points
inf.f.o = .7, # Inference fill
inf.b.o = .8, # Inference border
avg.line.o = 1, # Average line
bar.f.o = .5, # Bar
inf.f.col = "white", # Inf fill col
inf.b.col = "black", # Inf border col
avg.line.col = "black", # avg line col
bar.f.col = gray(.8), # bar filling color
point.pch = 21,
point.bg = "white",
point.col = "black",
point.cex = .7)
D.h <- pirateplot(formula = D.houppier ~ Ver
Sts,
data = massi,
main = "Diamètre du houppier (m)",
theme= 1,
bean.f.o = .6, # Bean fill
point.o = .3, # Points
inf.f.o = .7, # Inference fill
inf.b.o = .8, # Inference border
avg.line.o = 1, # Average line
bar.f.o = .5, # Bar
inf.f.col = "white", # Inf fill col
inf.b.col = "black", # Inf border col
avg.line.col = "black", # avg line col
bar.f.col = gray(.8), # bar filling color
point.pch = 21,
point.bg = "white",
point.col = "black",
point.cex = .7)
library(patchwork)
cf + Ht + LH + D.h + plot_layout(ncol=2)

please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant