title: Setting axis limits with log scale
body: <p>I'm trying to create a graph and I'm almost happy with it. I just want to change the limit of the x-axis (log-scale). I tried to set limits in scale_x_continuous, but that results in one straight vertical line, instead of ten S-curves. My code untill now is:</p>
  <pre><code>library(&quot;ggplot2&quot;)
  ggplot(evaporation, aes(x = evaporation$h)) +
    geom_line(aes(y = C1_theta, color = &quot;blue&quot;), size = 1.1) +
    geom_line(aes(y = C2_theta, color = &quot;blue&quot;), size = 1.1) +
    geom_line(aes(y = C3_theta, color = &quot;blue&quot;), size = 1.1) +
    geom_line(aes(y = C4_theta, color = &quot;blue&quot;), size = 1.1) +
    geom_line(aes(y = C5_theta, color = &quot;blue&quot;), size = 1.1) +
    geom_line(aes(y = S1_theta, color = &quot;green&quot;), size = 1.1) +
    geom_line(aes(y = S2_theta, color = &quot;green&quot;), size = 1.1) +
    geom_line(aes(y = S3_theta, color = &quot;green&quot;), size = 1.1) +
    geom_line(aes(y = S4_theta, color = &quot;green&quot;), size = 1.1) +
    geom_line(aes(y = S5_theta, color = &quot;green&quot;), size = 1.1) +
    scale_x_continuous(trans = &quot;log&quot;, breaks = c(0, 10, 100, 1000, 10000, 100000), limits = 0, 100000) +
    theme_bw() +
    labs(y = expression(theta ~ (cm^3/cm^3)), x = &quot;Absolute Pressure Head h (cm)&quot;) +
    scale_color_manual(name = &quot;Samples&quot;,
                       labels = c(&quot;Control sample&quot;, &quot;Treated sample&quot;),
                       values = c(&quot;#4472C4&quot;, &quot;#70AD47&quot;)) +
    theme(legend.position = c(0.82, 0.72), legend.direction = &quot;vertical&quot;, legend.background = element_rect(colour = &quot;black&quot;, linetype = &quot;solid&quot;))
  </code></pre>
  <p>Does anyone know how to make sure the x-axis stops at 100000?</p>