etc5523-2020 / exercise2C

For students to submit their reproducible example in the issue
0 stars 0 forks source link

Failed to adjust limits of yaxis in ggplot #46

Open AbhishekSinha28 opened 4 years ago

AbhishekSinha28 commented 4 years ago

I am working on a dataset, 'economics_long' from 'tidy verse' package. I tried to produce a line plot of PCE Index(value) against corresponding date. But the resulting plot has incorrect limits on the y axis. I am trying to adjust the limits to the range of the variable 'value' using 'ylim' function but looks like it is not working.

Is there something that I am doing wrong. Any suggestions.

image

AbhishekSinha28 commented 4 years ago

Also you can check the package version here: http://rpubs.com/Abhishek-Sinha/648919