see ?lines and ?points
>>> Alexandre Serra Barreto 07/04/2010 01:16 >>>
Dear listmates,
could anybody help me on how to do simultaneous plots? for instance:
plot(x,y)
plot(x,z)
but my intention is to plot both of them simultaneously in the same graphic.
Thanks in advance,
A
Hi Alex,
You can try to use:
par(new=TRUE)
to draw the two graphs together. But keep in mind that the scale of x axis
of both graphs is using the same level. Otherwise, the graph would be messed
up.
Yi
On Tue, Apr 6, 2010 at 6:16 PM, Alexandre Serra Barreto wrote:
>
> Dear listmates,
>
Dear listmates,
could anybody help me on how to do simultaneous plots? for instance:
plot(x,y)
plot(x,z)
but my intention is to plot both of them simultaneously in the same graphic.
Thanks in advance,
Alexandre.
__
R-help@r-project.
On Wed, 3 Dec 2008, David Epstein wrote:
Prof Brian Ripley wrote:
How about dev.copy2pdf ?
I put the following into a script:
quartz(...)
#many graphics commands
dev.copy2pdf(pdf,file="ratio1.pdf")
Just
dev.copy2pdf(file="ratio1.pdf")
and then sourced the script. I got the er
Prof Brian Ripley wrote:
>
> How about dev.copy2pdf ?
>
I put the following into a script:
quartz(...)
#many graphics commands
dev.copy2pdf(pdf,file="ratio1.pdf")
and then sourced the script. I got the error message
Error in pdfFonts(family) :
invalid arguments in 'pdfFonts' (must be
On Wed, 3 Dec 2008, Philipp Pagel wrote:
On Tue, Dec 02, 2008 at 02:28:18PM -0800, David Epstein wrote:
Is there a good and concise way of making simultaneous plots that are
identical, but directed to different devices?
I'm writing an R-script that produces a pdf file. I would really like to
c
On Tue, Dec 02, 2008 at 02:28:18PM -0800, David Epstein wrote:
> Is there a good and concise way of making simultaneous plots that are
> identical, but directed to different devices?
>
> I'm writing an R-script that produces a pdf file. I would really like to
> check visually whether the pdf file
Is there a good and concise way of making simultaneous plots that are
identical, but directed to different devices?
I'm writing an R-script that produces a pdf file. I would really like to
check visually whether the pdf file shows what I expect. So I would like the
same commands to produce a plot
8 matches
Mail list logo