Displaying 20 results from an estimated 420 matches for "bti".
Did you mean:
bit
2004 Aug 26
1
"o" bty with different axes
Is it possible to create plot bty=o with different scale of left- and
right x-axis? In my documents, by typesetting, bty=u looks disruptively.
At 2nd: how to frame the whole box (including title and axes labels) and
resize to landscape-oriented rectangle?
Tomas Bayer
2008 Apr 17
1
bty
Dear list:
Is there any way of getting the equivalent to what you get with bty="l"
for the right and bottom axes? and the equivalent to
bty="7" for the upper and left axes?
Thanks!
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at
2007 Jun 19
4
plot only x- and y-axis with origin, no box()
hi all,
I'm trying for quite some time to have an x- and y-axis, but no entire box.
>plot(..,axes=F)
>axis(1)
>axis(2)
Gives this, but their axes do not go to the origin.
Quite a number of people find this gap between the two axes disturbing.
Has anyone an idea how to let these axes go to the origin?
thank you in advance
[[alternative HTML version deleted]]
2004 Mar 25
1
Error in 'legend' help?
Dear all,
maybe I have misunderstood something but to me it seems like a minor error
in the help for
?legend
for the argument 'bg'. There it says:
bg: the background color for the legend box. (Note that this is
only used if 'bty = "n"'.)
I think, however, that it should be changed to:
bg: the background color for the legend box. (Note that this
2001 Jul 11
1
Extra lines when bty="n" (PR#1021)
Full_Name: Claus Ekstrøm
Version: 1.2.0
OS: Linux (RedHat 7.1)
Submission from: (NULL) (212.54.75.68)
For some reason two extra lines keep appearing
when making graphics with no box, bty="n" (a vertical line
along the leftmost side of the graphics region and a horizonal
line along the bottom side). The lines are very visible if the
plot is saved as a postscript file and is later
2008 Aug 11
2
: bquote inside legend()
Hi,
I have a graph and I would like to write some values inside the legend that were saved in a variable. Please revise the code below in which I've wrote 2 different legends, but I am not happy with either of them. What I want is a legend with tile "Legend" and underneath a line with a name and a value like that: value = 2.
#Code begin:
# -------------------
a = 2 # result of a
2009 Oct 14
1
default borders in boxplot and barplot
This is my first post so hopefully I haven't mucked up the rules.
I'm trying to change the default borders in either boxplot or barplot so
that, at the request of a journal, all of my figures have the same type of
border.
I've successfully used par(bty="o") using plot(1:10, bty="o"), but it
seems that barplot and boxplot have their own defaults that override
2012 May 18
3
colocar subscripts y cursiva
Hola
He estado tratando varias formas de colocar el subíndice para los grados de libertad del F test y la expresión adj; y sencillamente no funciona.
legend("topright",legend=c(expression('r[adj]=0.40'),expression('F[3,23]=15.43'),expression('P < 0.001')),col=black, bty='n',cex=0.9)
Luego al tratar de colocar las cusriva utilizando par(font=3)
2008 Sep 19
2
plot order in multi-panel figure
Hi,
Does anyone know if there is a way to 'reset the plot number' on a traditional graphics device?
For instance, I want to have two plots on stacked top of each other (mfrow=c(2,1)) but with underlying grid lines spanning both figures vertically. I can put the grid lines on top if I add them last:
par(mfrow=c(2,1))
plot.new()
plot.window(c(0,1),c(0,1))
for( i in 1:2) axis(i)
2007 Apr 20
3
Opinion on R plots: connecting X and Y
Attention R users, especially those that are experienced enough to be
opinionated, I need your input.
Consider the following simple plot:
x <- rnorm(100)
y <- rnorm(100)
plot(x, y, bty='n')
A colleague (and dreaded SAS user) commented that she thought that my
plots could be "cleaned up" by connecting the X and Y axes. I know that
I can do that with bty='l' but I
2005 Oct 10
4
plot - no main title and missing abscissa value
Hi all.
I have defined a plot thus:
par(mar=c(5,5,4,5),las=1, xpd=NA)
plot(Day, Ym1Imp, ylim=c(0,100), type="b", bty="l", main="Ym1
Expression", cex=1.3, xaxt="n", yaxt="n") #plot implant data
axis(side=1, at=c(0,1,3,5,7,10,14,21), labels=c(0,1,3,5,7,10,14,21)) #
label x axis
mtext("Day", side =1, at=10, line=3, cex=1.2) # title x
2009 Nov 28
1
Plot-region not complete
Hello there,
after I solved many problems in the last days with R I wanted to
complete my plot. I used
ylab=expression(paste("log(",mu,"/",cm^2,"/VS)"))
to have greek symbols and to change cm^2 to cm?. Also cm^-3 I have in
another plot, but it cuts my ^2 to _ in the y-axis.
here is the code and I attach the plot:
jpeg(file="Tabh2.jpg",quality=100)
2007 Sep 25
3
Legend
I have following syntax for putting a legend :
legend("bottom", fill=c("red","blue"), legend=expression(p==0.30, p==0.50), bty="n")
However what I want is that : the value "0.30" should be a value of a variable instead of a constant, so that I can put the name of this variable and in legend it's value will be displayed. Can anyone tell me how
2010 Jan 29
1
How to draw a border for multiple graphs in one page
Hi,
I am struggling to create a 2 by 2 multiple graphs in one page. I used par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie chart (They are all same).
For example, my data is like this
Concentration value
A1 69
A2 8
G1 51
G2 1
2012 Jan 18
2
How do I exactly align the right hand side of "mtext" relative to a plot device? Beyond "adj".
Hi,
I have a problem with aligning text which I'm adding to a plot using
"mtext". I would like to specify the position of the right hand end of the
text string, relative to the device (in the left-right direction).
I've been looking at the use of the argument "adj". But this can't be used
to specify the rightmost point of the text. Neither does it specify exactly
2004 Oct 25
2
box() and hist()
Hi,
does anybody know why the following is not working:
> hist(rnorm(200))
> box(bty="o")
gives me a box without rounded corners.
System:
> R.Version()
$platform
[1] "i386-pc-mingw32"
$arch
[1] "i386"
$os
[1] "mingw32"
$system
[1] "i386, mingw32"
$status
[1] ""
$major
[1] "2"
$minor
[1] "0.0"
$year
2010 Feb 01
2
Adding line plot to a barplot
Hi,
I am trying to add a line plot of barplot, and while the following script
works:
barplot(DATA1,bty='c')
par(new=T)
plot(DATA2,type="l",axes=F,xlab="",ylab="",bty='c')
axis(4)
for some reason the y axis' do not align (the 0s are not in the same
position). Is this because I am trying to overlay plot on barplot, and is
there any way around
2007 Mar 20
5
abline within data range
Dear R helpers,
I would like to have abline, for a lm model for
example, lying within data range. Do you know how to
get it?
Thank in advance
Nguyen D Nguyen
#CODE
x<- rnorm(200, 35,5)
y<- rnorm(200, 0.87,0.12)
plot(y~x, xlim=c(0,50), pch=17, bty="l")
abline(lm(y~x))
# I would like abline is between min(x) and max(x)
[[alternative HTML version deleted]]
2017 Jul 26
2
axis() after image.plot() does not work except if points() is inserted between
Thanks... I agree that the problem was explained in the documentation
but I can't find a way to have axis() working even manipulating
par("plt") or with graphics.reset = TRUE:
- adding graphics.reset=TRUE does not allow axis() to be shown;
- I see that par()$plt is involved but it is the not sufficient to
explain why axis() works because if it is changed by hand, axes are not
2006 Dec 27
4
axis and times() problem
Dear R-Group,
the first example is working as expected, but I need the plot without
the box,
normally no problem, but I am not able to get the x-axis formatted as
times with the axis, command.
I tried a lot of things, nothing was working so I used the most easy
axis command in the second example here ....
# working
library(chron) # for times()
library(graphics)# for axis