1

https://gis.stackexchange.com/questions/302381/how-to-smooth-lines-that-go-exactly-though-the-datapoints-ggplot

I am trying to make this picture in r

descr

However, this is how far i have come so far.

descr

these are my data
descr

and codes

g0 <- ggplot(data = plot.m, aes(x = Var1,  y = value, group=Var2)) +
  geom_point(aes(color = Var2))+geom_line()

g0

  • Can somebody help in getting smooth lines here that go through all data points?
  • help to put x-axis labels little bit (about 2 cm) below?
mate00
  • 2,727
  • 5
  • 26
  • 34

0 Answers0