title: R: how to optimize the position of labeling in plot
body: <p>Hi I guess that I have quite a rudimentary question here. 
  I have a plot like this<a href="https://i.stack.imgur.com/0wVQL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0wVQL.jpg" alt="enter image description here"></a>
  but as you could easily notice, some of the label could not be displayed (some are overlapped with the symbols, some are just out of the figure frame)
  I noticed that there are some way to adjust the position of labels </p>
  
  <pre><code>text(tsne_out$Y[,1], tsne_out$Y[,2], labels=samplegrouptry, pos=1)
  </code></pre>
  
  <p>for example, I could specify the the value of "pos" (from 1 to 4). I guess they are good enough in most cases .But I wonder whether there are some better ways to do that.
  Any suggestion, thanks!</p>
  
  <p>Following the suggestion from </p>
  
  <p>vas_u Through change the axis ranges as well as "pos", I could get better plot:
  <a href="https://i.stack.imgur.com/gzQAA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gzQAA.jpg" alt="enter image description here"></a></p>