Hello,
OK, if you force the plot area to be square, it will become smaller.
Below, I do not change boxwex.
old_par <- par(pty = "s") # plot type = square
colors = rep("green",6)
at.x <- seq(1,by=.4, length.out = 10)
boxplot(RF,Ranger, SVM, KNN, DT,
range = 0,
col = colors,
Thank you for your reply.
Actually when I adjust boxwex (up to 0.8), it increases the width of the
plot. What I want is to reduce the size of the container (where all the
plots are displayed) so that it takes a small space on the paper.
Best regards
On Tue, Sep 13, 2022 at 7:08 AM Rui Barradas
Hello,
I may be wrong but if you do not change boxwex the deafual boxwex=0.8 is
used and the white space is reduced.
And if you increase the value, for instance to boxwex = 0.9, the white
space is even smaller.
Is this what you want?
Hope this helps,
Rui Barradas
Às 05:58 de 13/09/2022,
Hi
There is a gap between plots (white spaces) when I draw the boxplot. I want
to reduce the spaces between the plots so that the boxplot takes a small
space. When I just adjust "boxwex" values, the length of individual plots
increases/decreases but the white spaces is still there.
My code:
RF=
4 matches
Mail list logo