I have a dataframe where column 1 are Months, column 2 are Years and column 3 are precipitation values. I want to plot the precipitation values for EACH month and EACH year. My data goes from at January 1961 to February 2019. ¿How can I plot that? Here is my data:
If I use this:
plot(YearAn,PPMensual,type="l",col="red",xlab="años", ylab="PP media anual")
I get this:
Which is wrong because it puts all the monthly values in every single year! What Im looking for is an x axis that looks like "JAN-1961, FEB1961....until FEB-2019"