Re: Things I learned during first weeks

From: Mathieu Basille (basille@biomserv.univ-lyon1.fr)
Date: Wed Nov 30 2005 - 19:06:35 MET

  • Next message: Kent: "$c1 in dudi.acm - what is it?"

    Kent a écrit :

    >
    > c) You may of course export coordinates and import them into Microsoft
    > Excel. These xy coordinates are easy to display in an Excel graph.
    > However, it is not possible to plot dots with labels for each dot,
    > e.g. point xy1 with the name "AA", point xy2 with the name "BB" and so on.
    >
    > To do this, you need to download and install ChartLabeler, a free
    > add-on for Excel. Read more here:
    >
    > http://www.microsoft.com/office/community/sv-se/default.mspx?dg=microsoft.public.excel.charting&tid=aaf4910f-bddb-43f8-b1ad-6b9237dddcea&cat=en&lang=en&cr=&sloc=sv-se&m=1&p=1
    >
    >
    I'm wondering WHY you want to export things from R to MS Excel,
    especially for graphs! (Eventually, from R to OOo Calc, but I still
    can't see the expected advantages of the export). R has very good
    graphic abilities.

    A nice example for your labels problem :

    require(pixmap)
    logo <- read.pnm(system.file("pictures/logo.ppm", package="pixmap")[1])
    x <- rnorm(10)
    y <- rnorm(10,sd=.4)+x
    plot(x,y, type="n")
    for(i in 1:10){
        u <- runif(1)/10 + .1
        addlogo(logo, x[i]+c(-u,u), y[i]+c(-u,u), asp=1)
    }
    points(x,y, pch=letters[1:10], col="darkred")

    Cheers,
    Mathieu.

    -- 
    

    Mathieu Basille - Doctorant

    .------------------------------------------------. | Laboratoire de Biométrie et Biologie Evolutive | | Université Claude Bernard Lyon1 - France | `------------------------------------------------' basille@biomserv.univ-lyon1.fr



    This archive was generated by hypermail 2b30 : Wed Nov 30 2005 - 19:08:09 MET