Displaying 20 results from an estimated 900 matches similar to: "xaxp and yaxp"
2002 Jun 11
1
R 1.5.0: axis() does not honor the xaxp argument (PR#1654)
----------------------- transcript --------------------------
$ R --vanilla
R : Copyright 2002, The R Development Core Team
Version 1.5.0 (2002-04-29)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type `license()' or `licence()' for distribution details.
R is a collaborative project with many contributors.
Type
2002 Jun 04
4
par(xaxp)
I think this is a bug; at least this behavior is not documented in plot
or plot.default.
plot.default resets xaxp, and leaves xaxp reset when it exits:
par(xaxp=c(0,1,4))
print(par("xaxp"))
plot(c(0,1),c(0.2,0.3))
print(par("xaxp"))
R. Woodrow Setzer, Jr. Phone:
(919) 541-0128
Experimental Toxicology Division
2002 Aug 20
2
Reset par(xaxp) in plot
R-Helpers;
This seems simple to set graphic parameter, but I tried plot a graph
with 10 intervals in x axis with par(xaxp = c(0, 150, 10) but to no avail:
par(xaxp =c (0, 150, 10))
plot(age, y18, type="n", ylab="Height (m)", xlab=" age (Yrs)", font
= 2)
lines(age, y6, lty = 4, lwd = 2)
lnes(age, y10, lty = 1, lwd =2)
lines(age, y14, lty = 2, lwd =2)
2000 Apr 26
1
xaxp with dates
Dear friends.
As promised ver 1.01 solved the former problem and now dates plot OK in
windows. But.
In the following code, "cex.axis"=0.5 works OK but "xaxp"=c(14620,14680,4)
has seemingly no effect. The limits for xaxp was found from the default
plot and inspecting par(). I need to put the date marks at specific points.
Could I suppress them altogether and make a new xaxis
2006 Nov 30
1
strange error from R CMD check about xaxp
Dear R-devel,
Kurt had alerted me to the problem that the randomForest package that I
maintain has been failing checks in R-devel. However, I just can't see
why or where it's failing. I'd very much appreciate any pointer.
The failure occur when running the example code in varImpPlot.Rd:
> varImpPlot(mtcars.rf)
Error in par(opar) : invalid value specified for graphical parameter
2000 Jun 02
3
graphical parameters in plot
I'm using plot to make a simple plot but I want to control where
the tick marks go on bot axes. The graphical parameters xaxp and
yaxp seem to be ignored by the plot function so I tried setting them
using
op <- par(no.readonly=T)
par(xaxp=c(-2.4,-2.2,5), yaxp=c(-2500,10000,6))
plot(...)
par(op)
but they are still ignored.
Next I tried to use the axis function as follows
op <-
2010 Jun 13
1
Break in the y-axis
Hello all,
I have been having trouble getting a break in my y-axis. All of my data
points are up around 100-200, but the graph has to start at zero, so i would
like to remove all the white space using a break symbol. I have been able
to get the break and labels to be correct, however, I can't seem to get the
data to match the axis anymore. I must be using the axis.break() in plotrix
2002 Aug 20
0
Sum: Reset par(xaxp) in plot
Many thanks to Peter Dalgaard BSA and Uwe Uwe Ligges for their prompt
responses. It turns out xaxp can not be set by par(xaxp = c(x1, x2, n)) as
indicatedd in Help for 'par' document. Both pointed me to the right
direction by setting axes = F or xaxt = "n" in plot() and using axis(1,
seq=c(0,150,15)) to produce an axis with desired intervals.
Richard
My original question:
2003 Jun 19
3
Background color(s) for groupedData plot
I've been using par() to check the graphics parameters
associated with both plot(<fitted linear model>) and
plot(<grouped data object>). AFAIK the only differences
are in the $cxy, $usr, $xaxp, and $yaxp parameters but
the background color for the grouped data plot is grey
while the linear model plot has a white background.
When I've tried par(bg = "white") prior to
2002 May 03
0
copy or save to metafile from graphics device shrinks plots (PR#1507)
Full_Name: Drew Tyre
Version: 1.4.0
OS: Win 2000
Submission from: (NULL) (140.253.74.225)
When creating a rather complex plot, the resulting figures 'shrink' when either
copied to the clipboard or saved as a metafile using the GUI menu. Also saving
as postscript or pdf causes the same problem, as does printing the figure
directly from the graphics window. Only the figure areas shrink,
2010 Jun 05
1
Error Bar Issues
Hello all,
I am an undergraduate student who is having syntax issues trying to get
error bars on my graph.
This is the data, which I assigned the name "Saline" to.
Time Average SEM
1 -20 0.000000 0.0000000
2
3 30 0.000000 0.0000000
4 45 3.227902 0.7462524
5 60 5.066664 1.1623944
6 80 6.107491 1.5027762
7 110
2013 Jan 08
4
error in a abline loop
Hello
I have data of body length and body weight of people of different skin colors.
I tried to write a code to plot body length and body weight according
to the skin colors.
(Thanks for Petr's advice so far.)
A loop is used but an error shows up in the following code.
It says:
unexpected '}' in
"
2007 Nov 20
2
Logarithmic axis
Hi there,
I guess this must be a standard issue, but I'm starting to go crazy with it. I
simply want a plot with the x axis being logarithmic, having labels 1, 10,
100..., and ten unlabelled ticks between each of them - just as they
introduce logarithmic axis at school. I've played around a bit with log="x",
xlog=T (where exactly is the difference here?), xaxp, and xaxt
1999 Oct 22
1
par(uin)
Hi,
I've been trying to use several plotting routings that make use of
S's par("uin"), the number of user units per inch. For the moment I've
substituted all of the occurences of this with
par.uin _ function()
(par("fin") / c( diff(par("xaxp")[1:2]),diff(par("yaxp")[1:2])))
This seems to work fine for my needs.
-Greg
2005 Nov 10
2
make check failed on linux-amd64 using PGI compilers
Dear R-help,
I am trying to build R-2.2.0-patched (2005-11-07 r36217) on the head node of
a Scyld cluster (dual Opteron 250s) using PGI compilers (v6.0). I used the
flags suggested by Jennifer Lai on R-devel (taken from R-admin, except that
I had to add -L/usr/X11R6/lib64 to LDFLAGS). The build went fine, but make
check-all failed when running tests/Examples/graphics-Ex.R, at:
> plot(1:2,
2010 Oct 11
2
(senza oggetto)
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101011/7fd9c9d5/attachment.pl>
2001 Jan 30
1
screen can't go back to log="y" plot (PR#831)
[I have abbreviated the subject as jitterbug has been having probems
with long subjects.]
The issue here is that one cannot mix log/non-log axes in the calls to
screen(), as the appropriate par() parameter is read-only, but the
meaning of yaxp depends on it. But beyond that you can't set
x/yaxp for log axes.
You should be able to do this: you can in the S original.
A simpler version:
plot
2002 May 03
1
copy or save of plots (PR#1507)
On Fri, 3 May 2002 drew.tyre@csiro.au wrote:
> Full_Name: Drew Tyre
> Version: 1.4.0
> OS: Win 2000
> Submission from: (NULL) (140.253.74.225)
>
>
> When creating a rather complex plot, the resulting figures 'shrink' when either
> copied to the clipboard or saved as a metafile using the GUI menu. Also saving
> as postscript or pdf causes the same problem, as
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 <-
2004 Feb 19
3
suppressing non-integer labels for plot x-axis
Dear R-helpers,
I am having difficulty making R plot only integer labels on the x-axis
of a simple graph. I want to plot the median values of a score on each
of three occasions. Non-integer occasions are impossible. But, R keeps
labelling the x-axis with half-occasions, despite my attempts to stop
this using the "xaxs" and "xaxp" parameters of 'plot'.
p1=c(1,2,3);