0

I am trying to plot some fine resolution data using GGplot. Unfortunately, the plot is very 'blocky' and I am unsure how to fix it. Attached is a photo of the current plot

enter image description here

I've tired changing the date format, both by importing the data as well as using the 'scale_x_date' argument within ggplot

HG$Date<-as.Date(HG$Date, format("%d-%B"))

scale_x_date(date_breaks = "15 day", labels=date_format("%d-%B")

I'm trying to produce a 'normal' looking plot that isn't as blocky, but I do not want to use a smoothing tool

Sample Data:

Date_Stamp       Date Site.1 Site.2 Site.3 Site.4
1  5/18/2018 22:00 2019-05-18  7e-04 0.0028 0.0034  1e-03
2  5/18/2018 22:30 2019-05-18  7e-04 0.0027 0.0033  1e-03
3  5/18/2018 23:00 2019-05-18  8e-04 0.0029 0.0034  1e-03
4  5/18/2018 23:30 2019-05-18  8e-04 0.0028 0.0033  1e-03
5   5/19/2018 0:00 2019-05-19  7e-04 0.0027 0.0033  1e-03
6   5/19/2018 0:30 2019-05-19  7e-04 0.0029 0.0033  1e-03
8   5/19/2018 1:30 2019-05-19  8e-04 0.0028 0.0033  9e-04
9   5/19/2018 2:00 2019-05-19  8e-04 0.0029 0.0033  9e-04
10  5/19/2018 2:30 2019-05-19  8e-04 0.0028 0.0033  9e-04
aosmith
  • 34,856
  • 9
  • 84
  • 118

0 Answers0