On 2011-05-25 11:38, Jurgens de Bruin wrote:
Hi,
I am very new to rpy and R thus would greatly appreciate some help.

Currently I have the following code:

    grdevices = importr('grDevices')
    grdevices.png(file=filename, width=900, height=512)
dataf = Robjects.DataFrame({'phytochemcial':Robjects.StrVector(DataSet['phytochemical']), 'acronym' : Robjects.StrVector(DataSet['Acronym']), 'fitvalue' : Robjects.FloatVector(DataSet['FitValues'])
                                })
    bubble = ggplot2.ggplot(dataf) + \
ggplot2.aes_string(x='acronym', y='phytochemcial', col='fitvalue',size='fitvalue') + \
    ggplot2.geom_point(alpha = 0.2)
    bubble.plot()
    grdevices.dev_off()

But the labels on the x-axis are long names and overlap each other and I would like to rotated these 90degrees but I am not having any success with this...

Can the last graphical example at
http://rpy.sourceforge.net/rpy2/doc-2.2/html/graphics.html#package-grid
shed some light ?



L.




Thanks


--
Regards/Groete/Mit freundlichen Grüßen/recuerdos/meilleures salutations/
distinti saluti/siong/duì yú/привет

Jurgens de Bruin


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1


_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to