I have a plot where the y axis is transformed in percents; I would like to put limits on it to show only the high percents (from 50% to 100%) but it does not work :
ggplot(myData,aes(x=A_factor, y=some_numeric_data, fill=factor(Another_factor))) +
geom_bar(position = position_fill(reverse = TRUE),stat = "identity", color="white") +
scale_y_continuous(labels = scales::percent, limits=c(50,100))
I also tried with labels = percent_format.
Thanks.