Re: [R] X axis labels are not fully shown when using pareto.chart function

2020-09-16 Thread Luca Scrucca
The following works: library(qcc) x = dataset2$Points names(x) = dataset2$School par(oma = c(2,0,0,0)) pareto.chart(x) You may need to adjust the oma parameter. BTW, next time please provide a reproducible example. I spent more time to figure out which is the correct variable/lab

Re: [R] X axis labels are not fully shown when using pareto.chart function

2020-09-15 Thread Jim Lemon
Hi Paul, It is a contest between the quantity of information and legibility. You have 140 labels to place on the x-axis in your plot and I barely managed it by almost doubling the width of the plot, halving the size of the font and truncating the labels to a maximum of 20 characters. Unless you wan

Re: [R] X axis labels are not fully shown when using pareto.chart function

2020-09-15 Thread Paul Bernal
Dear Jim, Thank you so much for your valuable and kind reply. I will try what you suggest and will let you and the group members how that goes. Can the resolution you suggest be applied whenever I encounter an issue like the one I just described (to make x-axis labels clearly visible)? I imagine

Re: [R] X axis labels are not fully shown when using pareto.chart function

2020-09-15 Thread Jim Lemon
Hi Paul, This looks very familiar to me, but I'll send my previous suggestion. library(qcc) x11(width=13,height=5) pareto.chart(dataset2$Points,xaxt="n") library(plotrix) staxlab(1,at=seq(0.035,0.922,length.out=140), labels=substr(dataset2$School,1,20),srt=90,cex=0.5) Jim On Wed, Sep 16, 2020 a

[R] X axis labels are not fully shown when using pareto.chart function

2020-09-15 Thread Paul Bernal
Dear friends, Hope you are doing well. I am currently using R version 3.6.2. I installed and loaded package qcc by Mr. Luca Scrucca. Hopefully someone can tell me if there is a workaround for the issue I am experiencing. I generated the pareto chart using qcc´s pareto.chart function, but when th