Displaying 20 results from an estimated 8000 matches similar to: "Six axis y with axis function?"
2003 Sep 01
2
Axis color
Hello, my question is if I have two axes in a graphics as I can put him a
different color al axis and to the number of the scale. ? Thanks. Ruben
2003 Nov 26
5
multiple peaks in data frame
Hello, it wanted to know how I can extract of a dates frame the values
peaks according to an interval that I
establish. For example if dates are:
1 23
2 4
3 56
4 7
5 99
6 33
extract the date i wanted to divide into intervals of 2 an
d to take alone the numbers 23, 56 and 99 of those 3 intervals. Thanks
Ruben
2004 Mar 29
2
how transform excell file to text file in R
Hello, it want to know if there is a library that transform a file in
excell (*. xls) to text file(*.txt, *,prn, *.csv). Thanks
2006 Sep 03
4
How can I fit the secondary y axis legend on my graph?
Dear All,
Having a bit of trouble with plotting two y variables on the same
graph. I cannot manage to get the secondary y axis label on to the right
of the axis - it gets plotted beyond the graphic window I assume?! The
way I constructed the graph is thus:
plot(data[,3],data[,2],axes=F, type="b") ## plots my data from two
data colums without axes - fine
axis(1, at=data[,3])
2011 Nov 24
1
Horizontal Y axis title above the y axis
Dear R-help team
I have tried hard to turn my Y axis 90 degrees, so that it is written horizontally, and placing it above the Y axis, but I did not succeed.
I have tried to adapt the following functions:
- plot()
- title()
- mtext()
And some more that did not prove to be useful (e.g. text() etc).
The closest I got to my aim was with mtext():
mtext("Yield
2004 Jul 15
5
formula
Hi, i 'dont understand how to take a general formula, view this:
x<-1:5
y<-c(0,1,1.7,2,2.1.4)
dummy<-data.frame(x=x,y=y)
formula<-"y~A*log(x)/log(2)"
formu<-as.formula(formula)
fm<-lm(formu,data=dummy)
Error in eval(expr, envir, enclos) : Object "A" not found
but A is the parameter of fitting, why is this?Thanks Ruben
2011 Jul 29
2
Changing font type within y axis labels
I wish place the following axis label in such a manner that some of the
text is plain and the scientific name is in italics (i.e. a mixture of
two font types)
Using plot:
mtext("Total Landings of Pecten maximus (tonnes)",font,=3, side=2,
line=3)
makes everything italic, but how do I apply the font change to only
"Pecten maximus"?
Rgds
Phil
2013 Jun 15
2
Plotting two y-axis vs non-numeric x-axis
Hi dear all, the following code is correct. but I want to use non-numeric
x-axis, for example
if I replace time <- seq(0,72,6) by
month <-
c("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","Pag")
Ofcourse I use factor(month) instead of
2009 Jun 16
2
Superscript in y-axis of plot
Dear all,
I've been trying to superscript the '2' in the following command (I don't want the '^' displayed), but as yet haven't had much luck. I've tried both the paste and expression commands, but neither have brought me any joy!
mtext(side=2, line=5.5, "Monthly Precipitation (mm x 10^2/month)", font=2, cex=1.1)
Any advice would be much appreciated,
2004 Jul 15
2
formula and lm
Hi, don' t understand why the function fomula have this error, i enclose
the parameter "a" with the function I()
Thank Ruben
x<-1:5
y<-c( 2 ,4 , 6 , 8 ,11)
formu<-y~I(a*x)
form<-formula(formu)
dummy<-data.frame(x=x,y=y)
fm<-lm(form,data=dummy)
Error in unique(c("AsIs", oldClass(x))) : Object "a" not found
2004 Jul 13
2
help with as.function
HI, sorry but i don't understand how to make a function with as.function()
formula<-"2+3*x"
formu<-as.symbol(formula)
> formu
2+3*x
formul<-as.function(alist(x=,formu))
curve(formul,1,5,col="blue")
Error in xy.coords(x, y, xlabel, ylabel, log) :
x and y lengths differ
> typeof(formul)
[1] "closure"
and not plot the curve function, Why?
2007 Mar 22
1
Labelling a second y-axis
Hi,
I am using the following code as an example function to create
multiple y-axes on one plot. I have it working fine however, I can't
seem to add a label on the second (right) axis. I have tried adding
ylab="y2" in the axis call but, that didn't work; any ideas?
Thanks,
Jesse
Code:
function() {
par(las=1,xaxs="r",mai=c(1,0.75,1,1))
x<-1:10
y1<-x
2003 Apr 21
1
swat or what?
Hi users, i've some problems with the swat tool of samba. I'cant start
the configuration tool but the service is running and listening.
When i want to start it from browser always could not open localhost:901
when i want to open it with webmin configuration tool i must give in
username and passwort :-(
username : Swat
password : ???? ( the root password doesn't work)
could you
2006 Aug 04
2
expression() - Superscript in y-axis, keeping line break in string
I've tried several different ways to accomplish this, but as yet to no
avail. My y-axis for a plot has a rather long label, and thus I have
been using "/n" to break it into two lines. However, to make it
technically correct for publication, I also need to use superscript in
the label. For example:
par(oma=c(0,0,2,0),mar=c(5,6,0.25,2),lheight=1)
plot(1:10,
2010 Sep 05
1
Add y-title to a plot with two y axis
Hi all,
We managed to plot two series on the same graph, with two y-axis,
however, we haven't managed to add a title to the second y-axis
x1=rnorm(25, mean=0, sd=1)
y1=dnorm(x1, mean=0, sd=1)
x2=rnorm(25, mean=0, sd=1)
y2=dnorm(x2, mean=0, sd=1)
plot(x1, y1, type='p', xlab='x', ylab='y')
par(new=TRUE)
plot(x1, y2, type='p', axes= FALSE,
2019 Jan 05
1
Re: xen and libvirt
Hi
I need the e820_host option for a passthrough of an digitaldevices
dvb-s2 card. Without this I'cant initialize the card in the domU.
On an all my domU's with high IO load like an file server I need to set
max_grant_frames = 64 or higher. Without this I get a lot of messages on
dom0/domU and kernel exceptions.
I've read it should be ok to set it = 256 on all domU's
2012 Nov 12
8
no y-axis
HI @ all,
I'm looking for a simple solution to supress the y-axis - but only the drawn
scale - not the values.
Only the numbers should be displayed.
I tried yaxt="n" but there everything of the y-axis is supressed.
Thanks
GeO
--
View this message in context: http://r.789695.n4.nabble.com/no-y-axis-tp4649298.html
Sent from the R help mailing list archive at Nabble.com.
2003 Nov 07
1
y label after axis (4)
Hi,
I am trying to figure out how to lable the second y-axis after the following
codes:
plot(x, y,
xlab="time",
ylab="pay1"
)
par(new=TRUE)
plot(x,y2,
ann=FALSE,
xaxt="n",
yaxt="n",
pch=7
)
axis(4)
Then, I want to label the second y axis "pay2". I tried "title(ylab="pay2")",
but it put this lable on the first
2017 Jul 31
0
Superscript and subscrib R for legend x-axis and y-axis and colour different subjects in longitudinal data with different colours
Hi Martin
see in line
> -----Original Message-----
> From: Martin Maechler [mailto:maechler at stat.math.ethz.ch]
> Sent: Monday, July 31, 2017 10:52 AM
> To: PIKAL Petr <petr.pikal at precheza.cz>
> Cc: Rosa Oliveira <rosita21 at gmail.com>; r-help mailing list <r-help at r-
> project.org>
> Subject: Re: [R] Superscript and subscrib R for legend x-axis and
2010 Apr 02
2
plot area: secondary y-axis does not display well
Dear useRs,
I'm having a slight problem with plotting on 2 axes. While the following
code works alright on screen, the saved output does not turn out as
desired i.e. the secondary y-axis does not display fully.
Just run the code and look at image output. Suggestions please...
thanks,
Muhammad
---
rm(list=ls())
x <- 1:100
y <- 200:300
par(mar=c(5,5,5,7)+0.1) # inner margin