On 02/16/2013 05:30 PM, Andrew Roberts wrote:
Folks,
I am having problems with a plot I want to create to give an impression
of changes in an ordinal scale measure (1-5) at three time points (0, 14
and 21 days). I can produce a radial plot of bare vectors but getting
this to appear on the base p
gt; From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of emorway
> Sent: Friday, October 21, 2011 4:21 PM
> To: r-help@r-project.org
> Subject: Re: [R] subplot strange behavoir
>
> Hello Dr. Snow,
>
> With regard to your response from earl
Hello Dr. Snow,
With regard to your response from earlier this month:
When I copy and paste your code I get what is expected, the 2 subplots line
up on the same y-value. What version of R are you using, which version of
subplot? What platform?
I'm still troubled by the fact that layout and sub
I tried this trick, and clearly things are not going in the right direction.
It seems 'layout' is at the root of my frustration, so I can make two plots
and marge them in adobe illustrator (or something similar).
png("c:/temp/lookat.png",res=120,height=600,width=1200)
layout(matrix(c(1,2),2,2,byr
Hello Greg,
Session info is below. Running Win7 64-bit. I just upgraded my version of
R and tried rerunning the code and got the same odd result. I, too, get an
expected result when I create the plot in the R GUI. The problem crops up
only when I try and create the plot in png() or tiff(). Pe
When I copy and paste your code I get what is expected, the 2 subplots line up
on the same y-value. What version of R are you using, which version of
subplot? What platform?
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
> --
Hi,
I'm assuming you're using subplot() from Hmisc, but it's a good idea
to specify.
It's not subplot() that's causing the problem, it's layout, or rather the
interaction between the two.
This section run at the command line doesn't work:
layout(matrix(c(1,2),2,2,byrow=TRUE),c(1.5,2.5),respect=T
The subplot function (at least the one in the TeachingDemos package and the
copy in Hmisc) only does rectangles. Clipping regions are also limited to
rectangles currently. There are external tools (gimp, imagemagick) that may me
of use or triangles and other shapes can be approximated by enoug
8 matches
Mail list logo