Displaying 20 results from an estimated 2000 matches similar to: "lattice: How to display no box but only a y-axis on the left + Thicker lines"
2013 Feb 11
2
how to make a median line thicker in bwplot (lattice)
Hello,
I am drawing a boxplot using bwplot in lattice.
I would like to learn how to draw a thicker median line instead of the
default setting.
Thank you.
Code
bwplot(........,
pch=rep("|",2))
Elaine
[[alternative HTML version deleted]]
2010 Sep 23
1
how to make point character thicker in xyplot?
Is there anyway to make plotting point character being thicker in xyplot? I mean
not larger which can achieved by "cex=2", but thicker. I tried lwd=2, but it
didn't work. I know "lwd" works in regular plot() not only for lines, but also
for points. For example
plot(1:10, lwd=2)
Thanks
John
2011 Nov 29
1
Making the lines thicker in histogram
I'm using a histogram and want to overlay this onto a barplot. I need the
histogram lines to be thicker in order for it to stand out more on top of
the barplot. Is there a command in order to do this?
Thanks in advance.
--
View this message in context: http://r.789695.n4.nabble.com/Making-the-lines-thicker-in-histogram-tp4119639p4119639.html
Sent from the R help mailing list archive at
2012 Nov 03
1
How to make pch symbols thicker?
Hi I need to know how to make pch symbols like pch=3 (+) or pch=4(x) or even
the border of squares or triangles thicker without changing the size. I have
a lot of symbols of different colors but you can't see the colors clearly
and I don't want to change the symbol.
Thanks!
--
View this message in context: http://r.789695.n4.nabble.com/How-to-make-pch-symbols-thicker-tp4648295.html
2007 Oct 31
3
thicker axis in levelplot
Dear R-help community,
I need to find out how to make the black axis line around my plot thicker in
levelplot, I cannot find the correct command in ?levelplot or ?par - or if it is
there I cannot get it to work - any help would be more that appreciated!
Here's an example script - I would want the code for making the axis bordering
the plot thicker:
x<- seq(pi/4, 5*pi,length=100)
2012 Jul 09
4
how to make plot lines thicker
I am trying to make the lines thicker in a graph (for a ppt presentation).
Here is what I currently have:
plot(x,y,type="l", ylab="Number of OTUs", xlab="Number of Samples
Collected", col="Black", pch=1, ylim=c(0,6000))
points(x, Sobs$Chao_1_Mean, type="l", col="Gray", pch=1) (this is one of the
added lines in the graph).
I believe
2010 Oct 09
1
point characters THICKER in xyplot()
Hi, how can I make the point characters thicker (NOT larger) in xyplot when
groups= argument is used?
dat<-data.frame(x=1:100,y=1:100,group=rep(LETTERS[1:5],each=20))
### lwd=2 doesn't work here
xyplot(y~x,groups=group,data=dat,col=1:4,pch=1:4,lwd=2)
### lwd=2 works with panel.points(), but grouping is messed up!
xyplot(y~x,groups=group,data=dat,col=1:4,pch=1:4,
2008 Apr 18
1
Vertical bars with barchart
Hallo,
What is the right way to get vertical bars in
a barchart?
For instance
barchart(VADeaths,
key=simpleKey(colnames(VADeaths),points=F,rectangles=T))
gives what I need,
only I would like the bars to be vertical.
But
barchart(VADeaths,horizontal=F,
key=simpleKey(colnames(VADeaths),points=F,rectangles=T))
does not give what I need,
and I do not understand how to change the
2002 Sep 30
4
2 plots sharing axis / combining factors
Dear R users,
- Is it possible to produce a figure with 2 plots that they share one of
the axis, e.g., the y-axis?
I did not succeed by setting mai[4] <- 0. Is there a simple way?
- How could I convert 2 factor variables in a single factor variable
which is the combination of the other 2.
Example:
lith: a factor 2 levels "ca", "ma"
sp: a factor with 2 levels,
2010 Apr 24
2
left-to-right series of box and whisker plots from a csv file
Hi,
I've got a csv file with scores like this:
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,38,40,20,40,26,40,30,40,5,5,13,12,40,40,3,33,29,23,2,24,9,15,4,21,16,5,26,8,8,18
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,40,40,30,40,40,37,34,40,36,13,40,13,40,5,40,8,29,5,15,34,5,22,14,20
2001 Jan 18
2
dotplot: character size of labels
Dear R users,
using dotplot (R1.2.0, WinNT4.0), I am trying to change the character size
of the labels of the points:
> # example
> data(VADeaths)
> dotplot(VADeaths, main = "Death Rates in Virginia - 1940")
> # I'd like to have smaller character size of the labels (for age and
population groups)
> ?dotplot
> # for argument "cex", this says:
2012 May 09
5
Dotchart showing mean and median by group
Given this example
mean.values<-colMeans(VADeaths)
mean.values<-apply(VADeaths, 2, mean)
median.values<-apply(VADeaths, 2, median)
dotchart(VADeaths, gdata=mean.values)
dotchart(VADeaths, gdata=median.values)
is it possible to ?combine? a single dotchart showing both the mean and the
median for each single group (with different plotting symbols)?
?is it that possible with the use of
2010 Feb 26
1
bwplot() {lattice}
Hi All,
I'm trying to plot boxplot graph. I tried barchart with "groups=" option and
it worked fine. But when I try to generate same kind of graph using
bwplot(), "groups=" option doesn't seem to work. Though this works,
yield ~ variety | site * year
I'm thinking why "groups=" doesn't work in this case, can anyone help
please...
#Code:
2006 Dec 28
2
Plot window - save as Postscript question
R 2.4.0 for Windows
The following plot appears as a squared window (as all r-plots)
Not all subtitles are visible, but all subtitle will appear, when
changing the aspect ratio of the plot window with the mouse to a wide
format.
But does not work when using the save as postscript menu item from the
plot window.
is there any solution for that?
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1,
2001 Jan 18
0
dotplot: character size of labels (PR#816)
There seems to be a bug in "dotplot" concerning the "cex" parameter. Setting
cex has no effect on the character size of the labels of the points.
This problem was posted to r-help today (Thu, 18 Jan 2001); the solution
given by Brian Ripley (and Uwe Ligges) seems to work for me.
Heinrich Rinner.
> version
_
platform i386-pc-mingw32
arch x86
2006 Mar 01
2
lattice-Internal
Hi,
The functions prepanel.default.bwplot() and lpretty() are not running in Deepayan's
barley example concerning vertical bars with the lattice function barchart().
Why, is there a restricted use for the package lattice-Internal?
Urs Simmen
mailto:usimmen at dtc.ch
2010 May 04
4
Show number at each bar in barchart?
when i plot a barchart with 5 bars there is one bar pretty long and the
others get smaller
like (20, 80, 20, 5, 2)
is there a way of displaying the number accoirding to each bar next to it?
like in a bwplot the panel option N?
--
View this message in context: http://r.789695.n4.nabble.com/Show-number-at-each-bar-in-barchart-tp2125438p2125438.html
Sent from the R help mailing list archive at
2006 Feb 08
1
bwplot: how to display response variables separately in same panel?
Hi -
I have two response variables 'y1' and 'y2' and a factor 'x'. I would like
to create paired box-whiskers plots for y1~x and y2~x and labeled for the
same x. the b-w plots would be side-by-side in the same panel - almost like
a barchart with two parallel columns for the same x.
the code 'bwplot(y1+y2~x, outer=T)' gives me two side-by-side panels. this
is ok,
2004 Sep 17
2
lattice: bwplot and panel.lmline()
On Friday 17 September 2004 13:52, RenE J.V. Bertin wrote:
> Hello again,
>
> I am doing regressions (using panel.lmline() (and panel.abline(
> rlm(...))) ) inside a panel method which I pass to bwplot().
>
> What I would like to do is create a boxplot of categorised data
> (binned on the independent variable), and superpose a regression line
> which is calculated using the
2006 Mar 21
5
How to use: library lattice: barchart
Dear ladies and gentlemen!
In the help text for the xyplot (library(lattice), help(xyplot)) is an example
given how one can use barchart:
barchart(yield ~ variety | site, data = barley,
groups = year, layout = c(1,6),
ylab = "Barley Yield (bushels/acre)",
scales = list(x = list(abbreviate = TRUE,
minlength = 5)))