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...
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 =...
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...
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...
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...
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...