From: Alvaro Colina Santamaria (acosa@ubu.es)
Date: Sat 10 Feb 2001 - 20:50:25 EST
Message-ID: <3A851CF1.B71F4F28@ubu.es>
Matt Pocernich wrote:
> Hi - I would like to create a scatterplot with the symbols
coded by a
> factor in each record. Is their a better way than what I
have used
> below? I attempted to use the plot.factor, but cannot force
it to
> make a scatterplot instead of boxplots. I have considerd
making a
> function with a 'for' statement for each level of the factor.
Is
> there a better way for when I am dealing with more levels of
factors?
> Thanks, Matt Pocernich
>
You can use the function text.
plot(X,Y,type='n')
text(X, Y, labels = as.character(manuf))
-- ============================================================== Alvaro Colina |-|o||o||o||o||o||o||o||o||o|- Area de Quimica Analitica | Pza. Misael Banuelos s/n Facultad de Ciencias | 09001. Burgos. Spain Universidad de Burgos | Phone: 34-947-258817 e-mail: acosa@ubu.es | FAX: 34-947-258831 ==============================================================-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:32 EST