In the following plot:
The values of the Y axis are 1.9999999925 (for the 99 steps) and 1.9999999882 (for the rest of steps). As you can see, the plot only shows the value 2 because it rounds the decimal of both values to 2. How can I avoid that and show the two values as they are?
This is the R script that I have written to generate the plot:
dataset <- readr::read_csv("/data.csv")
dataset <- dataset %>% melt(id.vars = c("Class"))
dataset <- transform(dataset, value = value)
YaxisTitle <- "Fitness"
class <- "Steamer"
p2_data <- dataset %>% filter(Class == class)
pp2 <- p2_data %>% ggplot(aes(x=factor(variable), y=value, group=Class, colour=Class)) + geom_line() + scale_x_discrete(breaks = seq(0, 1000, 100)) + labs(x = "Steps", y = YaxisTitle) + theme(legend.position="none")