You haven't given much detail to go on. So I have to make some assumptions
(feel free to correct me if I am wrong):
1. You already know how to plot something in R from the R command line.
2. You know how to save your plotting commands in a text file (say
fancyplots.R).
If these are true, then
Ray,
Thanks very much. That did it.
Partha
Ray Brownrigg [EMAIL PROTECTED]
11/21/2004 06:38 PM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: [R] Re: 3d Map with bars
From: [EMAIL PROTECTED]
Date: Fri, 19 Nov 2004
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
Thanks for reply. I need to first draw the map of USA a perspective plot.
I guess thats where my problem was.
Partha
Uwe Ligges [EMAIL PROTECTED]
11/19/2004 04:33 PM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: 3d Map with bars
[EMAIL
Have you perchance looked at
?paste
For example:
paste(The current time is , date())
[1] The current time is Mon Nov 08 17:06:25 2004
[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
11/08/2004 04:47 PM
To: [EMAIL PROTECTED]
cc:
Subject:[R] can one
For me, it is extremely easy to integrate R into a webserver where
Scientists perform preprogrammed analyses and get the report they want.
This integration with a web server I found to be not so easy with other
software. Also, the graphical capabilities of R are unsurpassed.
Seth Grimes
Use a judicious combination of par(mai) and par(new = TRUE). For example:
par(mai = c(3,1,1,1))
x - runif(50)
plot(x, xlim = c(1, 500), ylim = c( -5, 1), bty = l)
par(mai = c(2,1.5,2,1))
par(new = TRUE)
x - runif(50)
plot(x, xlim = c(1, 500), ylim = c( -5, 1), bty = l)
par(mai = c(1,2,3,1))
Here is a curious observation. In
version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major2
minor0.0
year 2004
month10
day 04
language R
Try the following:
Plot(c(1:100), type = l
+ )
Warning message:
Have you tried the adj parameter in par as in
axis(side=3,at=0:100/100,labels=0:100,las=2,cex.axis=0.1, adj = 0.5)
?
Ale iberna [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
10/27/2004 09:34 AM
To: R-help [EMAIL PROTECTED]
cc:
Subject:[R] ploting
Have you checkout out R Data Import / Export? In particular, check out
RODBC developed by Brian Ripley and Michael Lapsley.
HTH,
Partha
Vikas Rawal [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/28/2004 07:11 AM
To: [EMAIL PROTECTED]
cc:
Subject:[R]
The following is not a problem in R 1.9.1:
png(file = test.png)
par(mfrow = c(2,2))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
plot(c(1:10))
dev.off()
null device
1
Have you tried that?
HTH,
Partha
Laura Quinn [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/07/2004 10:37
How about:
par(omi = c(1, 1, 1, 1), xpd = NA)
x1 - 1:10
x2 - sqrt(x1)
plot(x1)
points(x2,col=red,pch=3)
legend(par(usr)[1],par(usr)[3] -
1.5,legend=c(First,Second),col=c(black,red),pch=c(1,3))
?
Note that you will have to play with the -1.5 to get it right in general.
Partha
Laura Holt
A similar approach is available for windows user with the Crimson Editor -
(http://www.crimsoneditor.com/)
Arne Henningsen [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
08/20/2004 05:04 AM
To: [EMAIL PROTECTED]
cc:
Subject:Re: [R] IDE or an Editor for
I am not sure which platform you are on. However, if you go to CRAN
(cran.us.r-project.org/) you should be able to get step-by-step
instruction. Please read the posting guide. It can answer a lot of
questions for you.
HTH,
Partha
Joanne Butler [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Have you looked at ?par(mfrow) ?
Johnson, Heather [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
08/13/2004 12:28 PM
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:
Subject:[R] Question from Newbie on PostScript and Multiple Plots
Hi,
As I'm pretty new
?mtext
F Duan [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
08/02/2004 01:48 PM
To: [EMAIL PROTECTED]
cc:
Subject:[R] How to add a common title (or xlab, ylab) for multi-plots
in the same
window?
Dear R people,
I am using par(mfrow=c()) to plot
Have a look at
?par
You need to have par(xpd = TRUE) and then use par(usr) to get the
coordinates for the edges of the plot. Also make sure you have enough
space around the plot to put the legend. For that, have a look at par(oma)
or par(mar) etc.
HTH.
Partha
Jean Eid [EMAIL PROTECTED]
Take a look at Textplot in the gregmisc package ...
Federico Calboli [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07/13/2004 12:06 PM
Please respond to f.calboli
To: r-help [EMAIL PROTECTED]
cc:
Subject:[R] plotting a table together with graphs
Dear
Check out textplot in the gregmisc package ...
Federico Calboli [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
07/13/2004 12:06 PM
Please respond to f.calboli
To: r-help [EMAIL PROTECTED]
cc:
Subject:[R] plotting a table together with graphs
Dear All,
I am playing with memory limits and trying to understand how R allocates
and increases available memory.
Here is what I have:
memory.limit()
[1] 536068096
memory.limit(size = memory.limit()*2)
Error in memory.size(size) : cannot decrease memory limit
memory.limit(size = 1024^3)
Error in
I would take the metadata and plot it at the bottom (or top - your
preference) using mtext. Check out the options oma and the usage of mtext.
Partha
Itay Furman [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
06/14/2004 03:17 PM
Please respond to Itay Furman
To: [EMAIL
Uh-oh .. the Dalgaard's Box has been reopened
Peter Dalgaard [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
05/25/2004 04:17 PM
To: Philippe Grosjean [EMAIL PROTECTED]
cc: Chad Shaw [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject:Re: [R] thanks again
I would recommend Peter Dalgaard's book for an introduction to Statistics
with R. Also, a resource that maybe more aligned with what you are asking
for may be the so called ARTIST project. Details at
www.gen.umn.edu/artist/
Lutz Prechelt [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Look over here:
http://www.bioconductor.org/faq.html#Bioconductor%20Packages
XIAO LIU [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
03/11/2004 01:16 PM
To: [EMAIL PROTECTED]
cc:
Subject:[R] Receiver Operator Characteristic curve
Dear R-helpers:
I
Perhaps he means that he wants to translate SAS code to R code? I couldn't
tell from the email. If you want to execute SAS code from R, you can
definitely do what you suggest (tongue in cheek perhaps) but still
legitimate question?
Liaw, Andy [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Have you looked at the manual : R Data Import /Export that comes with
R? If you are using Windows platform Go to Help --Manuals -- R Data
Import/ Export.
Hope that helps.
Partha
Marisa Ramos [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
02/12/2004 02:49 PM
To: [EMAIL
package e1071 on CRAN
Samuelson, Frank* [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
02/09/2004 07:56 AM
To: [EMAIL PROTECTED]
cc:
Subject:[R] moments, skewness, kurtosis
I checked the help and the mailing list archives, but I can
find no mention of a
Has anyone else received an email saying that Insightful has acquired the
S programming language? What do you think is the impact (if any) of this
news on R?
Partha
__
[EMAIL PROTECTED] mailing list
It might also mean that he is looking for par(xaxs = i, yaxs = i)
Pikounis, Bill [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
12/09/2003 05:23 AM
To: 'Hank Stevens' [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:RE: [R] axes that meet
Hank,
I think
On the Windows platform, I use SourceEdit which also has R syntax
highlighting (and much more) (http://www.brixoft.com/). However, as an
organization, we do have plans to look at the IDE Eclipse
(http://www.eclipse.org/ )
Partha
Angel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
If I understand you correctly, you want to stack the 15 columns on top of
one another? I assuming all the data is numeric?
In this case, convert the data.frame to a matrix and set the dim of the
matrix to NULL.
If df is the data.frame,
df1 - as.matrix(df)
dim(df1) - NULL
[EMAIL
I think the Mozilla plugin site explicitly says that you cannot copy the
Java plugin into the Mozilla plugin directory. You have to make a symbolic
link to it in the plugin directory. Please try that.
Jason Turner [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/03/2003 07:32 PM
I tried to use substitute in legend as follows:
pval - 0.04
plot(0)
legend(1,0.5,substitute(hat(theta) == p, list(p = pval)))
For some reason the legend is repeated 3 times.
Any suggestions or is this a bug?
__
[EMAIL PROTECTED] mailing list
Simon,
Here is what I do when I encounter an excel spreadsheet. I save it as a
CSV file (in excel - save as - file type CSV) and then read the
corresponding file into R using read.csv.
Hope that helps,
Partha
Simon Fear [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
06/25/2003 06:16 AM
The example from the help page for strptime has the following oddity:
dates - c(02/27/92, 02/27/92, 01/14/92,
+ 02/28/92, 02/01/92)
times - c(23:03:20, 22:29:56, 01:03:30,
+ 18:21:03, 16:56:26)
x - paste(dates, times)
z - strptime(x,
Tell me about it ! :)
My email system was about to collapse ...
Partha.
Peter Dalgaard BSA [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
04/04/2003 02:18 PM
To: Spencer Graves [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject:Re:
You say you are using the Linux environment. Hence you files are not being
found. You are using the path system of a Windows environment.
If your bac directory is in your home directory, try the following:
Test2 - scan(~/bac/TestData2)
HTH,
Partha.
Chisolm, Barbara [EMAIL PROTECTED]
Sent
I see that the definition of axis() has changed from 1.5.1 to 1.6.1 (as
mentioned in the news file for 1.6.0). Axis now has a color argument to
change it's color. However, the following command worked in 1.5.1:
axis(1, at = c(0.1, 0.2, 1, 5, 10), fg= gray(0.7), cex.axis = 0.8,
col.axis= red)
38 matches
Mail list logo