Re: [R] subplot (Hmisc) and radial.plot (plotrix) problem

2013-02-16 Thread Jim Lemon
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

Re: [R] subplot strange behavoir

2011-10-24 Thread Greg Snow
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

Re: [R] subplot strange behavoir

2011-10-21 Thread emorway
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

Re: [R] subplot strange behavoir

2011-10-05 Thread emorway
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

Re: [R] subplot strange behavoir

2011-10-05 Thread emorway
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

Re: [R] subplot strange behavoir

2011-10-05 Thread Greg Snow
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 > --

Re: [R] subplot strange behavoir

2011-10-05 Thread Sarah Goslee
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

Re: [R] subplot()

2009-06-24 Thread Greg Snow
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