Questions tagged as 'barplot'

2
answers

How to properly position the labels in the barplot?

I can not correctly position the names in an R barplot because they are too long. My data looks like this: Thenamesendupappearingthisway: fator_tecnologico_labels <- c( "Facilidade de testar\n e de ser avaliado\n por usuários\n de um m...
asked by 14.01.2014 / 19:09
1
answer

bar graph ggplot 2 side-by-side vectors

Can anyone tell me if it's possible to make this chart with the bars side by side without using data frames or "melt"? v1=c(100,120,140) v2=c(125, 102,104) a=data.frame(year=factor(2003:2005)) ggplot(data=a, aes(x=year)) + geom_bar(aes(y =...
asked by 31.10.2018 / 20:19
1
answer

Arguments barplot

I made a graph with the barplot function, and I need to change the angle of the text on the X axis because the words are long. I know that to put them vertically use las = 2, but I want them to be inclined (an angle of 45 °). How do I do? Thi...
asked by 13.09.2017 / 17:13
2
answers

Text in bar graph stacked in R

I want to create a stacked bar chart similar to the one below Iusedthefollowingcommandbarplot(t(dadosAQI),xlab="%", col=colAQI, horiz = TRUE, cex.axis = 0.8, cex.names = 0.8, las=1 ) But I...
asked by 15.09.2015 / 16:51
1
answer

Label does not appear on chart

Hello, My configuration is as follows: > sessionInfo()       R version 3.3.1 (2016-06-21)       Platform: x86_64-w64-mingw32 / x64 (64-bit)       locale:   _LC_COLLATE = Portuguese_Brazil.1252_, _LC_CTYPE = Portuguese_Brazil.12...
asked by 29.11.2016 / 14:29
1
answer

Core Plot - Initial zoom for the bar chart

How do I set the initial zoom based on the maximum value of the X axis and Y axis? Example: Chart 1: Maximum values: X = 100; Y = 110; Chart 2: Maximum values: X = 180; Y = 230; I need the initial zoom to show the two graphs eq...
asked by 02.09.2014 / 20:04