From: Tae-Hoon C. <th...@tg...> - 2004-10-26 17:01:45
|
Thanks a lot, Tim! On 10/26/04 2:40 AM, "Tim Churches" <tc...@op...> wrote: > From: rpy...@li... >> [mailto:rpy...@li...] On Behalf Of >> Tae-Hoon Chung >> Sent: Tuesday, 26 October 2004 6:29 PM >> To: rpy...@li... >> Subject: [Rpy] problem with plot >> >> >> Hi, all; >> >> When I tried to generate simple plots using rpy in python >> 2.3, I got not only plots but also data used for generating >> the plot printed over the plot superimposed. For >> conveneience, I attached the plot. Can you tell me what's the >> problem? The code I used is this: >> >> from rpy import * >> >> x = r.rnorm(100) >> r.plot(x) > > It is best not to send attachments to mailing lists. > > The problem is that R does not know what to labels to use for the axes of > your plot, so it is using the data. Remember that R does not even know that > the name of the object you are passing to plot(). All you need to do is > specify some axis labels via the appropriate string arguments to plot() or > via axis() functions (see the R help for details). > > Tim C > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > rpy-list mailing list > rpy...@li... > https://lists.sourceforge.net/lists/listinfo/rpy-list |