Displaying 20 results from an estimated 7000 matches similar to: "log scale y axis ticks control?"
2006 Feb 27
1
log scale y axis ticks control on boxplots
Hey R Users
I like to control the ticks and labels in a boxplot as described for a
xyplot below (thread in maillinglist in may 2003). Does anybody knows
how it works?
Thanks in advance
Thomas
Thread from May 2003
(http://tolstoy.newcastle.edu.au/R/help/03a/5604.html)
Hello R Users!
I'm using lattice to produce some graphs with logaritmic y-scales. I use
the command
xyplot(hits ~
2007 Jan 23
1
How to generate 'minor' ticks in lattice (qqmath)
Dear group,
I tried to generate labels for every second tick in lattice (qqmath).
Version: 0.14-16
Date: 2006/12/01
R version 2.4.1 (2006-12-18)
An example:
library(lattice)
numy=100
y=runif(numy,min=0,max=1)
sig=0.05
numsig=length(which(y<sig))
tck.no=11 # number of ticks
tcks=1:tck.no
labl=as.character(0.1*tcks-0.1) # label for all ticks
labl[seq(2,tck.no-1,2)]="" # delete
2010 May 09
3
Plotting log-axis with the exponential base to a plot with the default logarithm base 10
Hello!
I have a problem which I have tried to solve for several days now..
I have plottet a lineplot.CI in the library "sciplot", and I am trying to
plot it with a logaritmic y-axis (with exponential base).
The problem is that; when I type "log "y"", the axis transforms into the
logaritmic of base 10.
I wonder if someeone could tell me how to specify that I would
2010 May 10
2
[Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
Hello!
Thank you for answering!
What I am trying to do is to plot my raw values (biomass of different
species) on a logaritmic y-axis with the base of e. When I type "log="y"",
the axis transforms into a logaritmic axis with the base of 10.
Best regards,
Elisabeth
> Dear Elisabeth,
>
> I'm not sure if I have understood your question -- are you trying
> to
2009 Jun 18
1
lattice logaritmic scale (basis "e" ), rewriting labels using xscale.component
Hi there,
sorry for troubling everybody once again, I've got a problem rewriting
Sarkar's function for
rewriting the tick locations in a logaritmic way (s.
http://lmdvr.r-forge.r-project.org/code/Chapter08.R):
His example works for log 2 but I need log e (natural logarithm). My
problem is that if I replace
2 with "e" (using paste()), I get the error message that the location
2010 May 09
1
Plotting log-axis with the exponential base to a plot wi
Hello Ted!
Thank you a lot for your reply!!!
I will try to explain again; what I want is a logarithmic scaled y-axis
with the base of e (not 10). And the values I would like to use in the
plot are the raw values (not transformed in any way). Do you still think
that the base of log does not matter in this case (wheather it is e or 10
as a base)?
Elisabeth
> On 09-May-10 18:10:27, Elisabeth
2009 Feb 16
1
How to add direction of time to plot.circular()
Dear r-helpers,
I want to show that time is flowing CCW in the following:
require(circular)
len <- 8
labl <- as.character(c(0, 1, 1, 1, 0, 0, 1, 0))
r <- circular(2*pi* (rep(c(1, 3, 6), each = 200)/len + rnorm(600, 0,
0.025)))
r.dens <- density(r, bw = 25, adjust = 4, kernel = 'vonmises')
plot(r, shrink = 2.5, axes = FALSE, ticks = FALSE, pch = 1, col =
2010 May 11
0
[Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
Is it the tick labels that you want to change?
-----Original Message-----
From: "Elisabeth Bjerke Rastad" <ebr024 at post.uit.no>
To: "r-help at r-project.org" <r-help at r-project.org>
Sent: 5/10/10 11:20 AM
Subject: [R] [Fwd: Re: Plotting log-axis with the exponential base to a plot with the default logarithm base 10]
Hello!
Thank you for answering!
What I am
2012 Jan 08
2
need help with axis ticks
hi,
i am using par(mrow=c(6,6)) function to get 6x6 plots on one screen. the
problem that i am having is that the axis tick labels are far away from the
ticks and going into previous plots (see attached figure). i need to know
how can i reduce the distance between the ticks and their values (y axis
values).the part of the code that i am using (after reading in the data) to
create the top row is:
2004 Nov 17
1
R: log-normal distribution and shapiro test
Hi,
from what you're writing:
"The logaritmic transformation
"shapiro.test(log10(y))" says: W=0.9773, p-value=
2.512e-05." it seems the log-values are not
distributed normally and so original data are not
distributed like a log-normal: the p-value is
extremally small!
Other tests for normality are available in package:
nortest
compare the log-transformation of your ecdf
2005 Dec 28
3
Axis/Ticks/Scale
Dear All,
Apologies for this simple question and thanks in advance for any help given.
Suppose I wanted to plot 1 million observations and produce the command
plot(rnorm(1000000))
The labels of the xaxis are 0, e+00 2 e+05 etc. These are clearly not very
attractive (The plots are for a PhD. thesis).
I would like the axes to be 0,2,4,6,8,10 with a *10^5 on the right hand
side.
Is there a
2004 Jan 20
2
avas and ace
Hi,
Does any one know how we can decide on the correct transformation in (avas and ace) after having drawn the graphs y,g(y) x ,s(x) and g(y) ,s(x) . Is it possible by only looking at patterns the graphs follow for example when
y ,g(y) shows a logaritmic pattern can we say that log transform on y is suitable?
Thanks for your help.
Regards
[[alternative HTML version deleted]]
2007 Nov 21
1
fitting a line to a logaritmic plot
Hi,
I have processed measurements of a rough surface to a heigh-height
correlation plot. What the meaning of this exactly is, is not important.
Only that it is a plot that had two (almost ) linear parts when plotted on a
logaritmic scale. In this plot, I want to draw the best fitting lines for
these linear parts but I just can't get it done. It is easy when the scales
are linear but as you
1999 Jan 19
1
axis labels and ticks in persp
1. This doesn't work
persp(x,y,z,col="grey",xlab="x",ylab="y",zlab="z")
but I can get axis lables on x and y by
persp(x,y,z,col="grey")
title(xlab="x", ylab="y")
BUT I can't figure out how to get a label for z. How to do it?
2. To be be consistent with image(), I think persp should make z the axis
it now calls y (and
2008 Jan 31
1
decrease amount of ticks on y axis in lattice levelplot
Hi all,
How can I decrease the number of ticks on the y-axis in a lattice
levelplot()? I have as many ticks displayed on the y-axis as I have
columns of data (1000 columns), how can I decrease this amount of ticks,
while still properly displaying all the data?
Note that I get my data from a matrix object, in which the z-values of
the levelplot are the actual values in the matrix, whereas the
2012 Jul 13
2
minor axis ticks in trellis graphics?
Dear R users,
I need to add minor axis ticks to my graph. In traditional R this is easily achievable by simply
adding a second axis with the minor ticks. But how to do that in trellis? I am already out of ideas.
Any suggestions will be appreciated.
Best regards,
Martin
-----------------------------------------------------------------
?????????? ??????????? ? ?????? ?? ??????????
2004 Sep 07
2
using text on the x axis ticks rather than numbers
Hello,
is there a way in which I can use text labels rather than numbers on
the x axis ticks? I basically have a vector of (say) 8 points and I want
to plot these sequentially. Thus the x axis would have ticks at 1 .. 8.
Rather than having the labels 1 .. 8 I would like to have some arbitrary
text labels.
Ideally I would like the labels to be rotated (say at 45 degrees) so
that they don't
2004 Sep 07
2
using text on the x axis ticks rather than numbers
Hello,
is there a way in which I can use text labels rather than numbers on
the x axis ticks? I basically have a vector of (say) 8 points and I want
to plot these sequentially. Thus the x axis would have ticks at 1 .. 8.
Rather than having the labels 1 .. 8 I would like to have some arbitrary
text labels.
Ideally I would like the labels to be rotated (say at 45 degrees) so
that they don't
2010 Mar 20
1
grid lines aligned on each ticks with a log scale
Hi all,
for publication purpose I must provide a graph with grid lines aligned with
each tick mark.
Thing is that the graph has a log scale on the x-axis.
I looked at the grid() and par() documentation but still don't figure out
how to get it done.
simple example
plot(seq(1,9), log="x", panel.first=grid())
how to get lines at x = 2 and 5 on the graph?
Of course the option
2013 Feb 14
5
plot custom x axis ticks values
Readers,
For this data set:
testvalues<-c(10,20,30,40)
How to amend the plot instruction:
plot(testvalues,ann=FALSE,type='l',yaxt='n',xaxt='n')
so that x axis ticks labels can be added to existing graph with
arbitrary value such as 0,100,200,300)?
Thanks in advance.
--
r2151