Why is R ggplot refusing to add custom breaks below 100 to the x-axis?

Viewed 29

I have a geom_point graph that plots a bad x-axis, I am trying to add manual breaks, which works perfectly until I try a break under the value of 100. Anything above that works fine, but it just won't add them below 100, I get no error message.

A simplified version of the graph:

ggplot(mapping = aes(x = Julian_Date, y = cum_Pigfish)) +
geom_point(seagrass_cover_cleaned_fixed_column_names_no_NA_2009, 
           mapping = aes(x = Julian_Date, y = cum_Pigfish, color = "Blue")) +
scale_x_discrete(breaks = seq(0,366, 30))

An image of the resulting graph:

The graph

0 Answers
Related