title: R: adding custom tick marks labels
body: <pre><code>set.seed(3)
  y = rnorm(10)
  x = seq(1, 10, 1)
  plot(y ~ x)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zxVGB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxVGB.jpg" alt="enter image description here"></a></p>
  
  <p>Instead of the x-axis tick mark labels of 1, 2, 3, 4, 5, how can I add a custom label? 
  Suppose I want tick mark 1 to be labeled as "This is a very long string 1", tick mark 2 to be labeled as "This is a very long string 2" ... etc. Since these labels are long, I'd like to set them at an angle (maybe 135 degrees or something like that) so that they're easy to read. How can I do this in R?</p>