Modifying ggplot2 Y axis to use integers without enforcing an upper limit [duplicate]
问题 This question already has answers here : How to display only integer values on an axis using ggplot2 (7 answers) Closed 5 years ago . I am trying to modify the axes in ggplot2 so that it is one decimal point and has a label for every integer. However, I want to do it without an upper limit so that it will automatically adjust to data of different counts. The difference between my question and the question posed here (that I was flagged as being a duplicate of) is that I need to make this work