title: R - Setting real limits in geom_line()
body: <p>I am trying to set the axis limits on a <code>geom_line()</code> plot made with <code>R/ggplot2</code>.</p>
  <p>Below I report the simple code:</p>
  <pre><code>Graph &lt;- ggplot(data=Test,aes(x=Enc1,y=N,group=Trial,colour=Trial)) + 
  geom_line(size = 1) + 
  coord_cartesian(xlim = c(0, 100), ylim = c(0, 7)) +
  scale_color_manual(values=c('#f92410','#644196')) +
  ggtitle(&quot;Valutazione peel su provino 50 mm&quot;) +  
  theme_bw() + 
  theme(plot.title = element_text(hjust = 0.5)) +
  xlab('Allungamento (mm)') + 
  ylab('Forza (N)')
  Graph
  </code></pre>
  <p>My question is why the axis don't start from the origin but a little below? I would like to see the line starting directly from the bottom/left corner of the graph, but it doesn't.</p>
  <p><a href="https://i.stack.imgur.com/xhwMT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xhwMT.png" alt="enter image description here" /></a></p>
  <p>Is there any way to adjust this distance? If you like I can also upload the original spreadsheet data file, but I do not know how to do.</p>
  <p>Thank you in advance for every reply.</p>