Displaying 6 results from an estimated 6 matches for "createatvector".
2004 Feb 19
1
Possible error in ?axTicks
Hi all,
Before posting to r-bugs, I thought that I would just verify this one
first.
It looks like the help for axTicks() needs to be corrected.
It presently says:
'axTicks()' can be regarded as an R implementation of the C function
'CreateAtVector()' in '..../src/main/graphics.c' which is called by
'axis(side,*)' when no argument 'at' is specified.
However, CreateAtVector() is actually in '..../src/main/plot.c' (line
684) instead. It is referenced in graphics.c.
In r-devel's plot.c, it is at line 69...
2005 May 24
3
Reversing axis in a log plot (PR#7894)
...x,y, log = "y", ylim = c(1,30))
However,
plot(x,y, log = "y", ylim = c(30,1))
fails with
Error in axis(2, ...) : log - axis(), 'at' creation, _SMALL_ range:
invalid {xy}axp or par;
axp[0]= 10, usr[0:1]=(34.3721,0.872801)
In addition: Warning message:
CreateAtVector "log"(from axis()): usr[0] = 34.3721 > 0.872801 = usr[1] !
According to Petr Pikal <petr.pikal -at- precheza.cz>, replacing the ylim
argument by ylim = c(30,1.2) helps in the above example; but in my real world
applications, it's actually difficult to find a working value f...
2009 Jul 17
2
log error for use on axis
Hi,
I am new to R plot. I am trying to scale my y axis in log. When I
do this I receive the following error
Error in axis(side = side, at = at, labels = labels, ...) :
CreateAtVector [log-axis()]: axp[0] = 0 < 0!
In addition: Warning messages:
1: In plot.window(...) :
nonfinite axis limits [GScale(-inf,1.31772,2, .); log=1]
2: In axis(side = side, at = at, labels = labels, ...) :
CreateAtVector "log"(from axis()): axp[0] = 0 !
My code is as follows:
foundO...
2009 Nov 18
2
error message; ylim + log="y"
Hi,
I get a lot of error messages with this command, but I don't understand why;
plot(c(),c(), xlim=c(1,10), ylim=c(0,10000), log="y")
thanks for any help!
[[alternative HTML version deleted]]
2005 May 19
1
Reversing axis in a log plot
...x,y, log = "y", ylim = c(1,30))
However,
plot(x,y, log = "y", ylim = c(30,1))
fails with
Error in axis(2, ...) : log - axis(), 'at' creation, _SMALL_ range:
invalid {xy}axp or par;
axp[0]= 10, usr[0:1]=(34.3721,0.872801)
In addition: Warning message:
CreateAtVector "log"(from axis()): usr[0] = 34.3721 > 0.872801 = usr[1] !
What am I doing wrong here?
Thanks a lot,
Christian.
2002 Sep 19
0
Barplot() with log axis scaling and other features
...etty(), with the user able to specify how many
intervals using "grid.inc", with a default of 5 as in pretty(). If
anyone has any better thoughts on how to approach this, I am open.
I was trying to figure out a way to call the C code in plot.c that
generates the default axis intervals (CreateAtVector), but would get
errors indicating that the function is not in the load table. This
would seem to be a cleaner approach at first glance, since it would
result in consistent default axis interval behavior when not plotting
grid lines. I am open to pointers or other thoughts on this.
Finally, t...