title: How can I label points in this scatterplot?
body: <p>Can you help me on putting labels on the following graph?</p>
  
  <p><img src="https://i.stack.imgur.com/7hCZw.png" alt="http://img849.imageshack.us/img849/7594/snap1034.png"></p>
  
  <p>The code i use is:  </p>
  
  <pre><code>valbanks&lt;-scan("banks.txt", what=list(0,0,""), sep="", skip=1, comment.char="#")
  valbanks
  
  valj2007&lt;-valbanks[[1]]
  valj2009&lt;-valbanks[[2]]
  namebank&lt;-valbanks[[3]]
  
  percent_losses&lt;-(valj2009-valj2007)/valj2007
  percent_losses
  
  abs_losses&lt;-(valj2007-valj2009)
  abs_losses
  
  plot(abs_losses, percent_losses,main="Absolute Losses vs. Relative Losses(in%)",xlab="Losses (absolute, in miles of millions)",ylab="Losses relative (in % of January´2007 value",col="blue", pch = 19, cex = 1, lty = "solid", lwd = 2,text(percet_losses, abs_losses,namebank))
  
  text(percet_losses, abs_losses,labels=namebank, cex= 0.7, offset = 10)
  </code></pre>
  
  <p>and the data is:</p>
  
  <pre><code>Value_Jan_2007  Value_Jan_2009  Bank    #
  49  16  Morgan_Stanley
  120 4.6 RBS
  76  10.3    Deutsche_Bank
  67  17  Credit_Agricole
  80  26  Societé_Generale
  91  7.4 Barclays
  108 32.5    BNP-Paribas
  93  26  Unicredit
  116 35  UBS
  75 27   Credit_Suise
  100 35  Goldman_Sachs
  116 64  Santander
  255 19  Citigroup
  165 85  JP_Morgan
  215 97  HSBC
  </code></pre>
  
  <p>Thank you very much</p>
  
  <p>What is the option to put the label at the bottom, right, up, left,... ?</p>
  
  <p>Summarizing: I want a graph similar that the one that is in the second message from <a href="https://stackoverflow.com/questions/7611169/intelligent-point-label-placement-in-r">this post</a>
  but there is no the code there.</p>
  
  <p>What code i have to put?</p>
  
  <hr>
  
  <p>if i put <code>text(percet_losses, abs_losses,namebank)</code>, i obtain nothing: the graph continue without changes.</p>
  
  <p>Could you show me the code i need to put?</p>
  
  <p>Thanks</p>