Displaying 20 results from an estimated 44 matches for "ylog".
Did you mean:
log
2000 Mar 21
5
par help wrong: xlog & ylog (PR#497)
Full_Name:
Version: 1.0.0
OS: linux
Submission from: (NULL) (193.62.250.209)
?par lists and describes xlog and ylog, though these are obsolete. It does not
list
log. I found out about log from ?plot.defaults--so that help is OK.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "...
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
2003 Mar 04
2
log axis assignment
...low) 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 colnames(raw))
{
if(n=="pH"){logaxis<-"T"} else {logaxis<-"F"}
plot(full.age,raw[,n],type="n",ylog=logaxis)
...
}
Any ideas what I'm doing wrong? I assume its something to do with the ylog
(an...
1997 May 11
2
R-alpha: Logarithmic scales
...as well. I attach my
quick hack below, but I think there are better solutions... :-)
legend <-
function (x, y, legend, fill, col = "black", lty, pch, bty = "o",
bg = par("bg"), xjust = 0, yjust = 1, ...)
{
xlog <- par("xlog")
ylog <- par("ylog")
if (xlog)
x <- log10(x)
if (ylog)
y <- log10(y)
xchar <- xinch(par("cin")[1])
ychar <- yinch(par("cin")[2]) * 1.2
xbox <- xinch(par("cin")[2] * 0.8)...
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
>> restoration of the par("usr") values when the plotting
>> device is still open, but that may be incorrect.
Marc> In follow up to my own note from last evening on this...
2006 Feb 01
1
Difficulty with qqline in logarithmic context
...the following code:
qqnorm(freq, log='y')
qqline(freq)
as the line drawn was seemingly random. The exact data I used appears
below. After wandering a bit within the source code for "abline",
I figured out I should rather write:
qqnorm(freq, log='y')
par(ylog=FALSE)
qqline(log10(freq))
par(ylog=TRUE)
I'm proposing that this little stunt be rather be hidden and
automatically effected within "qqline" proper, whenever par('ylog') is
TRUE. I thought about providing a patch, as "qqline" is so small. Yet
it would be...
2005 Jun 28
2
axTicks on a reverse ylog plot (PR#7973)
There is still issues with the reversed y-log scale plot:
# Test case A: works as expected
plot(10:100,log="y",ylim=c(100,11))
grid()
par("yaxp")
# Test case B: grid does not have horizontal lines; par("yaxp") is
different
plot(1:100,log="y",ylim=c(100,10))
grid()
par("yaxp")
In the second test case, axTicks for the horizontal lines (in
2010 Aug 30
3
log y 'axis' of histogram
All,
I have been trying to get calls to hist(...) to be plotted
with the y-axis having a log scale.
I have tried: par(ylog=TRUE)
I have also looked at the histogram package.
Suggestions welcome.
--
Derek M. Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd mailto:derek at knosof.co.uk
Source code analysis http://www.knosof.co.uk
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
2009 Jul 25
1
yaxp problem for more irregular time series in one plot
...n values of variables I need logaritmic y axis.
The code I use is the following:
nvz_3_data <- read.csv('/home/tomas/R_outputs/nvz_3.csv')
date <- (nvz_3_data$date)
NO3 <- (nvz_3_data$NO3)
NH4 <- (nvz_3_data$NH4)
date_p <- as.POSIXct(date, "CET")
par(mfrow=c(2,1), ylog = TRUE, yaxp = c(0.01, 100, 3))
plot(date_p, NO3, log = "y", type = "l", col = "darkred", main = "NVZ-1",
xlab = "time", ylab = "NO3-" )
lines(date_p, NH4, col = "darkblue", lty = "dotted")
plot(date_p, NH4, log = "...
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;
2012 Oct 11
1
performance analytics- package
In performance analytics - performance summary session , i cant run the
code of -
charts.PerformanceSummary(datafrom_table, rf = 0, main = NULL, method =
"ModifiedVaR", width = 0,event.labels = NULL, ylog = FALSE, wealth.index =
FALSE, gap = 12)
it just return blank chart.
datafrom_table - having a csv file.
and the rest of the things are get from the site
https://www.rmetrics.org/files/Meielisalp2007/Presentations/Peterson.pdf
but i dont get the result -
could u please help me.
--
View thi...
1998 May 10
2
R-beta: Re: R (par)
...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
par(xlog=T)
par(ylog=T)
and querying the values with par returned FALSE. Can't help much on
this one.
3) The syntax should be:
ps.options(paper="a4",family="Times")
NOTE: strings are case-sensitive, and there is no "Latin" font available
(as far as the help files are concerned)....
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:
1997 May 21
1
R-alpha: plot(1); axis(1, at=10) >>> Seg.fault -- and a patch
..."axis" <-
function (which, at, labels = TRUE, ...)
{
if (which%%2 == 1) {
axp <- par("xaxp")
usr <- par("usr")[1:2]
log <- par("xlog")
}
else {
axp <- par("yaxp")
usr <- par("usr")[3:4]
log <- par("ylog")
}
if (missing(at)) {
if (log) {
if (usr[2] < usr[1] + 1) {
at <- seq(axp[1], axp[2], length = axp[3] + 1)
}
else {
p1 <- ceiling(min(usr))
p2 <- floor(max(usr))
if (p2 - p1 < 2) {
at <- c(1, 2, 5) * 10^rep(p1:p2, rep(3, p2 - p1 + 1))
a...
2007 Mar 04
1
Scoping issue?
...#################
# mmatplot is a matplot wrapper to compare the same column of
# several matrices. Arg y is either a list of matrices with
# equal number of rows, or an array. The scalar n gives the
# column of each matrix or array slab to plot. par values and
# matplot args are accepted, e.g., ylog. mmatplot is intended
# to be mapply-compatible to test multiple columns.
mmatplot <- function(colnum, x, y, ...){
switch(class(y),
array = y <- y[, colnum, ],
list = y <- sapply(X = y, FUN = subset, select = colnum))
stopifnot(is.matrix(y))
matplot(x, y, ...)
}
#This is...
2009 Sep 13
2
zoo plot: yearly marks on X-Axis
...re from analystats
where zdroj like 'Dunaj Kalinkovo' order by date")
watchem_duj_kal <- dbGetResult(query_duj_kal)
date <- (watchem_duj_kal$date)
date_p <- strptime(date, "%m-%d-%Y")
no3 <- (watchem_duj_kal$no3)
nh4 <- (watchem_duj_kal$nh4)
par(mfrow=c(3,1), ylog = TRUE, yaxp = c(0.01, 100, 3))
maxy <- 100
miny <- 0.005
plot(date_p, no3,log = "y", type = "l", ylim = c(miny, maxy), col =
"darkred", main = "Dunaj Kalinkovo", xlab = "time", ylab = "log(NO3-,NH4
+)", xaxt="n")
axis.Dat...
2009 Sep 11
1
format (?) problems with data imported from postgres
...to create a time series by a following
script:
date <- (watchem_duj_kal$date)
NO3 <- (watchem_duj_kal$no3)
NH4 <- (watchem_duj_kal$nh4)
maxy<-max(NO3,NH4)
miny<-min(NO3[NO3>0],NH4[NH4>0])
date_p <- as.POSIXct(date, "CET")
par(mfrow=c(2,1), ylog = TRUE, yaxp = c(0.01, 100, 3))
plot(date_p, NO3,log = "y", type = "l", col = "darkred",
main = "NVZ-1", xlab = "time", ylab = "NO3-" )
lines(date_p, NH4, col = "darkblue", lty = "dotted")
plot(date_p, NH4, log = "...
2007 Dec 20
1
auto named savings (pngs & data-frames)
...nmatrix <- cbind(datalist)
#print(Datenmatrix)
#dev.off()
#plot(datalist)
#dev.off()
#einlesen <- datalist
#print(einlesen)
#Monate,storage, type="l", ylab="Datenvolumen [B]", xlab="Alter [M]",
main="Altersverteilung", col="blue", ylog=TRUE, xpd=TRUE
#print(x)
#
# alle kritischen Befehle wurden wohl von Felix "behoben" :( - aber
danke :)
#
(rbind(User)) -> ueber
print(ueber)
list(ueber)
x <- ncol(ueber)
print(x)
y <- nrow(ueber)
print(y)
#{# for (i in 1:x)
# {fileseq <- (unlist(strsplit((...