2016-05-26 55 views
1

如何調整x軸的標籤在pareto.chat(),例如:調整x軸的標籤在pareto.char() - 包QCC

defect <- c(80, 27, 66, 94, 33) 
names(defect) <- c("price code", "schedule date", "supplier code", 
        "contact num.", "part num.") 
pareto.chart(defect, ylab = "Error frequency") 

enter image description here

我想要的是使標籤「聯繫號碼」,「價格代碼」,...

回答

0
x = rpois(10, 10) 
names(x) = paste0("x", 1:length(x)) 
par(cex.axis = 0.4) 
pareto.chart(x) 
+0

解決方案將縮放這兩個x和y標籤。是否可以縮放(較長)x標籤? –