Displaying 20 results from an estimated 10000 matches similar to: "par help wrong: xlog & ylog (PR#497)"
2002 Nov 12
2
Wandering usr values in par(no.readonly=TRUW) (PR#2283)
--==_Exmh_1801894504P
Content-Type: text/plain; charset=us-ascii
Dear R folks,
Initially I had a plotting routine using logarithmic y-axes that failed after
repeated calls if I tried to restore the graphical parameters (which I wanted to
do because I used `layout' within the routine. I tried to isolate the problem
and found out that the following code with logarithmic axis is sufficient for
2002 Nov 13
2
Wandering usr values in par(no.readonly=TRUE) (PR#2283)
>>>>> "Marc" == Marc Schwartz <mschwartz@medanalytics.com>
>>>>> on Wed, 13 Nov 2002 11:01:49 -0600 writes:
Marc> Marc Schwartz wrote:
>> SNIP
>>
>> I am guessing that this may be the result of par("ylog")
>> and par("xlog") being read only and perhaps impacting the
>>
1999 Dec 13
3
t.test inside function (PR#373)
Full_Name: Bill Simpson
Version: 65.1
OS: linux
Submission from: (NULL) (193.62.250.209)
Try this code as separate lines entered interactively, then try doit()
doit<-function()
{
x<-seq(1,10)
y1<-x+rnorm(10,1,1.5)
y2<-x+rnorm(10,1,1)
t.test(x,y1,paired=TRUE)
t.test(x,y2,paired=TRUE)
}
doit() apparently executes only the last of a series of t.test()s.
Maybe this is no bug,
2001 Nov 29
1
rug(x) clip warning incorrect if par("xlog")==TRUE (PR#1188)
To wit:
> plot(1:2,1:2,log="x")
> rug(1:2) # should not warn
Warning message:
some values will be clipped in: rug(1:2)
> plot(1:2,1:2,log="x")
> rug(c(0,.1,.2)) # should warn, but does not
>
I believe this fixes the problem:
% diff -c /tmp/orig.rug.R /tmp/cberry.rug.R
*** /tmp/orig.rug.R Thu Nov 29 12:59:00 2001
--- /tmp/cberry.rug.R Thu Nov 29
2004 Jul 19
1
par(xlog) is not honoured (PR#7111)
Full_Name: Karel Kulhavy
Version: 1.9.0
OS: GNU/Linux
Submission from: (NULL) (212.71.168.94)
plot(function(x){x^2}, 1, 10) doesn't react to par(xlog=TRUE).
1999 May 11
1
dev.print help page (PR#191)
Full_Name: Bill Simpson
Version: 0.64.1
OS: linux
Submission from: (NULL) (193.62.250.209)
Two problems with dev.print help.
1. Under Examples:
dev.print(width=6, height=6, horizontal=F)
^ FALSE
2. dev.print help does not describe any of its parameters (e.g. height or
width).
Not described on the other dev.xxx pages either
1999 Nov 10
1
plot() bugs (PR#317)
Full_Name: Bill Simpson
Version: 65.1
OS: Linux Redhat 6.1
Submission from: (NULL) (193.62.250.209)
Try this:
#default plot symbols and lettering are too small, need to scale up
par(cex=2,mex=.7)
par(mar=c(5,5,1,1))
spdiff<-c(1,2,3,4,5)
dpdet<-c(1,2,3,4,5)/10
dpsp<-c(2,3,4,5,6)/10
dpdir<-c(2,4,6,8,10)/10
plot(spdiff,dpdet,pch=15,ylim=c(0,max(dpdet,dpsp,dpdir)),xlab="Speed
2001 Sep 13
1
sum overflow (PR#1091)
Full_Name: Bill Simpson
Version: 1.2.3
OS: linux
Submission from: (NULL) (193.62.250.209)
I think I have found an accuracy problem with sum()
> a<-1:1000
> b<-1:1000
>
> crossprod(a,a)*crossprod(b,b)
[,1]
[1,] 1.114448e+17
> drop(.Last.value)
[1] 1.114448e+17
>
#this should give same answer as above
> sum(a*a)*sum(b*b)
[1] -652010736
#seems to be due to
1997 May 11
2
R-alpha: Logarithmic scales
Here are another three problems with logarithmic scales:
1) segments() does not work with logarithmic scales. I suggest to change
lines 962-973 in "plot.c":
for (i = 0; i < n; i++) {
if (FINITE(xt(x0[i%nx0])) && FINITE(yt(y0[i%ny0]))
&& FINITE(xt(x1[i%nx1])) && FINITE(yt(y1[i%ny1]))) {
GP->col = INTEGER(col)[i % ncol];
1998 May 10
2
R-beta: Re: R (par)
1) 'par' doesn't seem to be called from 'plot', as it is in S. I was
able to get the plot to work with:
par(mar=c(5,5,5,5))
plot(a,b)
axis(4,labels=F,tck=0.1)
mtext("blabla",side=4,line=3,cex=1.5)
NOTE: I tried this on the x11() display, which seemed to reproduce the
problem you described.
2) ?? I was unable to get either x or y logarithmic axes using
2001 Aug 27
1
colorbar legend for image()
Hi,
are there any plans to add a colorbar legend to image()?
Or such a possibility already implemented which I just haven't
discovered yet. Anyway, I will be willing to spent some time on the
implementation if there isn't anyone working on that already.
Thanks
Thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2003 Mar 04
2
log axis assignment
Hi again,
another problem:
This (below) isn't working and as far as I can see it damn well should. What
I'm trying to acomplish is to run several data sets through the same
graphing procedure, but for the pH data use a log y axis. using this code
all graphs are drawn with a linear axis. Surely I should be able to set the
ylog option to T using another object (logaxis).
for (n in
2009 Apr 03
1
Error in par(split.screens[[n]]) : parameter "i" in "mfg" is out of range
I'm working on my 'oce' package, trying split.screen() instead of par(mfrow).
My code is too long to post, and I hope it's ok that I ask this question
without doing so.
My code seems to work fine when I source() it, but when I do "R CMD check"
on my package, I get the error that I've put as the subject line, when it
runs examples.
If I comment out the plot()
2003 Apr 27
2
bug and proposed fix in print.trellis 1.7.0 (PR#2859)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---1678264062-154654637-1051422990=:2626055
Content-Type: TEXT/PLAIN; charset=US-ASCII
---1678264062-154654637-1051422990=:2626055
Content-Type: TEXT/PLAIN; charset=US-ASCII;
2000 Feb 15
1
par: mar and mgp dead?
I just installed 99.0a, and I can't set mar and mgp:
> par(mar(2,2,.1,.1))
Error in par(mar(2, 2, .1, .1)) : couldn't find function "mar"
I had the same happen with mgp.
Are these bugs or a problem in my installation (everything else seems
OK)?
Is R core going to kill mar and mgp? If so, how should I fix the
huge margins and huge space between axis title and axis? Try this
2001 Mar 07
4
R.xpm?
I use AfterStep on Linux. I made an R.xpm file (attached)
and put this icon in the "wharf". To invoke R I click on the R icon.
I did not find an offical R.xpm, and so I am submitting this one
for your collective consideration....
The idea behind the icon is that it looks like a scatterplot, which is
"statistical". My main beefs with my R.xpm are that it doesn't have a
2003 Feb 24
2
fill prob. in legend
Hi,
I'm trying to construct a legend which has four lines of text and associated
symbols. The first two symbols need to be normal lines which vary only in
colour. The second two symbols should have filled boxes. How do I suppress
the fill boxes in the first two lines?
J.
2001 May 29
2
format for tick labels
Running R 1.2.3, Windows 98
I checked the archives, and I couldn't find anything pertaining to this:
How do I control format (scientific notation versus decimal, e.g.) on tick
labels?
TIA,
Henry
Dr. M. Henry H. Stevens
Postdoctoral Associate
Department of Ecology, Evolution, & Natural Resources
14 College Farm Road
Cook College, Rutgers University
New Brunswick, NJ 08901-8551
email:
2000 Oct 09
4
lm question
I have not really used lm before and I was hoping for some help on a
simple problem.
Here is a toy version of the problem I want to solve.
y x grp
-.9 1 a
-.8 2 a
-.7 3 a
-.7 1.5 b
-.5 2.5 b
-.3 3.5 b
-.19 2.7 c
-.11 3.7 c
-.41 4.7 c
I want to fit a model that has one y-intercept and three slopes, one for
1997 May 21
1
R-alpha: plot(1); axis(1, at=10) >>> Seg.fault -- and a patch
This problem has been mentioned by Arne Kovac <maak@stats.bris.ac.uk> on May 9-10.
The patch is really a replacement of 'axis' in RHOME/src/library/base/funs/
It contains the fixes which where proposed Arne Kovac
and fixes (all?) the errors he/she (?) reported on May 9.
"axis" <-
function (which, at, labels = TRUE, ...)
{
if (which%%2 == 1) {
axp <-