Thanks, I got the graph finally i want the way it should be. I tried to adjust the margins of the plot (like, top and bottom margins are too much) but they are not working, if you know how i can fix it.
Code -
#appearance
H <- c(6.36, 3.03, 6.85, 4.07, 4.69, 6.27, 6.67, 3.11, 5.07, 6.14, 5.93, 6.49)
tiff(file = "appearance.tiff", width = 2000, height = 2000, pointsize = 10, units = "px", res = 600)
barplot(H,
xlab = "",
ylab = "",
xlim = c(0, 9),
names.arg = c("Russian Banana", "Vermillion", "Atlantic", "POR12PG28-3", "Valery",
"Rio Colorado", "CO99076-6R", "Purple Majesty", "AC99330-1P/Y",
"CO05068-1RU", "Masquerade", "Canela Russet"),
col = colorRampPalette(c("#6E5773","pink"))(12),
font.axis = 2,
cex.names = .6,
cex.axis = .5,
horiz = TRUE, las=1, font.lab=1, font.axis=1, border = NA)
abline(v=7, col = "magenta", lty = 5)
axis(side = 1, at = 1:9,
labels = c("Dislike\nExtremely", "", "3", "", "5", "", "7", "", "Like\nExtremely"),
cex.axis = .5)
par(mar = c(2, 0.5, 2, 2))
dev.off()
#> png
#> 2
Created on 2020-07-14 by the reprex package (v0.3.0)