Displaying 20 results from an estimated 3000 matches similar to: "How to center a horizontal legend with specified 'text.width'"
2011 May 11
1
Parantheses highlighting
Dear list,
is it just me or is everybody experiencing this?
Since the upgrade to R 2.13.0 on my Mac (OS X 10.6.7, R GUI 1.40 (5751)) the highlighting of matching parantheses doesn't work the way it used to. It doesn't highlight the matching parantheses while typing, but it still does while scrolling over it with the cursor with the arrow keys. This is quite inconvenient since I have to go
2009 Sep 14
2
Function "Varcov" in Design (Ver. 2.2-0) package
Hi,
I'm running into an error message for the "anova"-function I never got
before with the Design (Version 2.2-0) package.
There seems to be a missing function "Varcov", please check my
function calls (it's in german but I think you get the error):
> library(Design) ## attaching Design package and dependent packages
Lade n?tiges Paket: Hmisc ## loading
2010 Dec 02
1
openNLP package error
Hello list,
I seem to have a problem with the openNLP package, I'm actually stuck in
the very beginning. Here's what I did:
> install.packages("openNLP")
> install.packages("openNLPmodels.de", repos =
"http://datacube.wu.ac.at/", type = "source")
> library(openNLPmodels.de)
> library(openNLP)
So I installed the main package as
2003 Dec 12
1
legend() graphics output bug (PR#5725)
Full_Name: Daniel Gasser
Version: 1.8.1
OS: Win XP
Submission from: (NULL) (130.60.20.92)
The legend()-Function shows a different behaviour than it did in Version 1.6.1.
It plots a black box left of the legend lines on each legend row. In 1.6.1 there
was just the line in appropriate color for each row in the legend (i was using
exactly the same legend statement and same plot function).
My legend
2000 May 31
1
legend with multiple columns
I have made a minor hack to "legend" (in R 1.0.0, but I didn't notice
any changes to legend in the 1.0.1 NEWS) to allow the legend to be
formatted in multiple columns, or horizontally (number of columns <-
number of legend items). (I find this helpful when I have lots of legend
items and not a lot of vertical space to squeeze the legend into.)
(Another hack I've considered
2010 Jan 12
1
Multiple symbols per single line in a legend
Hello everybody,
Is it possible to coax legend() into displaying more than one simbol per
line in legend? I have a graph like the one attached to this mail; I would
like to reorganize the legend in such a way that the duplicate text would be
omitted, i.e., the first line would read <square> <triangledown> "increasing
frequency" and the second one would read <circle>
2008 Nov 07
0
barplot can put legend in wrong place, request option to override that (PR#13265)
This in an enhancement requestion, to add the capability to pass
arguments through barplot() to legend(). I've created a version that
does this.
# Run this code; notice that the legend
# is superposed over one bar:
barplot(height =
cbind(x = c(465,91) / 465 * 100,
y = c(840,200) / 840 * 100,
z = c(37,17) / 37 * 100),
beside = FALSE,
width =
2004 Aug 20
0
legend lwd - feature request (PR#7023)
Lfo@psykiatri.aaa.dk wrote:
> (R1.9.1 Windows)
>
> In legend( ) lwd have no effect on points - contrary to the behaviour
> in e.g. plot( ) and points( ). It would be nice to have an option pt.lwd
> affecting the line width of legend points (like pt.cex changes the
> magnification).
>
>
> An example (note the difference in line width between points in the
> plot
2008 Jun 02
1
Plotting horizontal dendrograms
I am using hclust and plot to produce dendrograms. Using my input data I am
able to complete an analysis and obtain a vertical plot.
I want to be able to plot the dendrogram horizontally.I am using version 2.6
of R and have updated my packages recently.
Using the sample script for dendrograms I can produce a horizontal plot
using the instruction horiz = TRUE in plot().
When I use the same
2009 Apr 17
1
Turning off warnings from cor.test
I would like to turn off the warnings from cor.test while retaining
exact=NULL. Is that possible ?
> cor.test(c(1,2,3,3,4,5), c(1,2,3,3,4,5), method = "spearman")
Spearman's rank correlation rho
data: c(1, 2, 3, 3, 4, 5) and c(1, 2, 3, 3, 4, 5)
S = 0, p-value < 2.2e-16
alternative hypothesis: true rho is not equal to 0
sample estimates:
rho
1
Warning message:
In
2003 Mar 25
2
Re: Bar plot with variable width (down a drill hole) - now missing intervals?
Hi again,
Thanks Ted and Marc its works. But of course after pulling in in some
real life data I discoverd one hitch. Often there are missing
intervals. For example:
from <- c(0, 1.2, 4.0, 4.2, 5.0, 25.0, 30.1, 45)
to <- c(1.2, 4.0, 4.2, 5.0, 25, 30.1, 36.2, 50)
intensity <- c(0, 1, 3, 2, 1, 0, 2, 5)
barplot(intensity, width = -(to - from),
space = 0, horiz = TRUE, ylim =
2008 Jun 02
3
subject: horizontal text in barplot
I have a problem with the ylabs in barplot. When I draw the bars
horizontal the text for the y axis is not drawn horizontal too.
The text remains vertical. How can I change that. Thank's for your advice.
There is an example below.
##Example
plot.new()
jib <- data.frame(c(1:15),c(11:25),c(15:1),c(25:11))
colnames(jib) <-
2012 May 09
1
barplot: legend: two rows
dear r-helpers,
i have got another question:
i am using the functions
par(xpd=T)
legend
to create a legend below the x-axis. i used the parameter horiz=T.
now i would like to put the elements of the legend in two rows:
e.g. if my legend has got 5 elements, i would like 3 elements in one row
and the last two elements in the next row.
does anyone know how to do that?
thank you very much for
2006 Dec 05
1
Horizontal stripplot
I have a plot similar to the following
library(lattice)
stripplot(1:15, rep(1:3, each=5))
In order to save space for a presentation, I would like to have
horizontal strips instead of vertical. The argument 'horiz' turns the
arguments around, but not the plot. The documentation for 'stripplot'
('xyplot'), 'panel.stripplot' and the FAQ do not seem to provide
2012 May 18
3
How to create axis y axis for horizontal bar plot?
Hi,
i am working on bar plot but i need to generate y axis for horizontal bar
plot. In the attached diagram x-axis is there with scale 0 to 12 but i need
y axis. How can i implement it?
http://r.789695.n4.nabble.com/file/n4630478/barplot2.jpg
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/How-to-create-axis-y-axis-for-horizontal-bar-plot-tp4630478.html
Sent from the
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
2002 Jul 08
1
Horizontal barplot with reversed y-axis
Dear Reader,
I need a horizontal barplot but with the lowest value on the y-axis on top. How to get this?
Thank you,
osiander at 24on.cc
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the
2006 May 15
1
Trying to get values to display on horizontal barchart
Hello,
R 2.3.0
Windows XP
I have spent quite a bit of time trying to resolve my problem below, which included a R site search.
The "vertical bars" syntax below produces a vertical bar chart with the values displayed above each bar. I want to cast this graphic horizontally, but I have not been able to arrive at a suitable outcome. The best I have been able to do, using the second block
2010 Jan 12
1
barplot: border color when stacked
Dear R-users,
I am using R version 2.10.1 under windows.
In a barplot, I want to mark one of the bars with a special border color.
For example:
barplot(c(3, 7, 11), border = c(NA, "red", NA))
But how to do this when the bars are stacked?
for example:
barplot(matrix(1:6, ncol=3)) # border of second bar (i.e. the one with total height = 7) should be red again, I try:
barplot(matrix(1:6,
2007 Aug 31
1
Question on shardsplot
Dear All,
Would you please tell me how to display the sample No. on the map ?
---Below commands don't display the sample No.(from 1 to 150).---
library(som)
library(klaR)
iris.som3 <- som(iris[,1:4], xdim = 14,ydim = 6)
library(klaR); opar<- par(xpd = NA)
shardsplot(iris.som3, data.or = iris,label = TRUE)
legend(3.5,14.3, col = rainbow(3), xjust =0.5, yjust = 0,legend =