# Display a subset of classes in axes in ggplot

I have the following plot, is there any way in ggplot to display just the numbers 1 to 10 instead of all of them?
Numbers from 10 and after are not so important, but I need to display the ones before. Thank you

• the easy fix ( if numbers after 10 are not need) is to filter data to have N from 1 to 10 and plot this data – Yaroslaw Homenko Feb 7 '19 at 10:36

df %>%