Displaying 20 results from an estimated 1000 matches similar to: "Positioning main title"
2002 Apr 16
2
passing ", betrayed by the non-vanishing \
mtex[3]<-"I need\'s a \"double quote\" with no backslash"
mtex[3]
[1] "I need's a \"double quote\" with no backslash"
so how is it done?  Thanks in advance,
graham lawrence
_________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2011 Jul 18
2
Diagramas de barras agrupados y apilados
¿Alguien sabe cómo dibujar un diagrama de barras agrupado (o apilado) con diferente
número de elementos en cada grupo y que la leyenda quede "correcta"?
Si utilizamos barplot (o barplot2 de gplots) podemos definir una matriz con columnas
las diferentes alturas para cada grupo y si un grupo tiene menos categorias
simplemente asignamos NA a los elementos sobrantes de esa columna. Pero no
2005 Apr 14
3
Wrapping long labels in barplot(2)
I am using barplot, and barplot2 in the gregmisc bundle, in the 
following way:
barplot2(sort(xtabs(expend / 1000 ~ theme)),
     col = c(mdg7, mdg8, mdg3, mdg1), horiz = T, las = 1,
     xlab = "$ '000", plot.grid = T)
The problem is that the values of 'theme', which is a factor, are in 
some cases rather long, so that I would like to wrap/split them at a 
space once they
2007 Aug 30
1
Barplot2 using for loop, how to adjust margins?
Hi R-users,
I inted to make multiple plots using for loop. The question is how can
I adjust the left hand side margin of the plot according to the
names.arg argument in barplot2. In every plot I have different
annotations in the y axis and they vary in length. Now when I have
fixed margins
opar <- par(mar=c(3,15,0,2)...
I get the same margins in all of the plots. That leaves lots of white
2012 Jul 30
1
Accents and special character using hwriter (on Windows)
Hello,
I have a problem with special characters such as "?" or "?" when using
hwriter. This only happens when I use windows, it works fine on mac. If I
do: 
print(datosdv)
"Ciencias Sociales y Jur?dicas n:74 | 33.94%"
but: 
hwrite(datosdv, p, br=TRUE)
"Ciencias Sociales y Jur?dicas n:74 | 33.94%"
The bad sign is in the code, is not a problem of the
2007 Mar 01
2
barplot2, gap.barplot
Hello,
I try to handle a simple bar-plot, but it turns out to be not as simple
as I thought.
1) I have created a .dat-File, e.g. test.dat:
DATA	DATA-SEM
2.2	0.32 
6.2	1.30
12.7	1.61
48.6	3.08
4.1	0.86
4.5	0.32
1.5	1.13
1.2	1.08
The first row is the data represented by bars. The second row deals with
the Standard Error of Mean. The lines correspond to time-intervals of
experiments. 
2) I now
2008 Jul 08
0
Multiple Plots and y Axis Labels
Hi,
I'm using the mfrow parameter in par() to plot several timeseries with a
common time x axis as a sequence of plots one below the other.  I reduced
the top and bottom margins to zero to get a very nice looking plot but
sometimes the labels on the y axes from one plot overlap with the y axis
labels on the plot above or below.
Any ideas how I can prevent this without losing the look of the
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
2010 Jun 26
2
several common sub-axes within multiple plot area
Dear List,
I'd really appreciate tip's or code demonstrating how i can achieve some 
common axis labels integrated into a multiple plot.
In my example (below), i'm trying to achieve:
-a single "Results 1 (Int)" centered & btwn row 1 and row 2;
-a single "Results 2 (Int)" centered & btwn row 2 and row 3;  and,
-a single "Results 3 (Int)" centered
2005 May 31
2
Barplot2 Title
Hello,
I would like to know if it's possible to modify the name of groups of bar because on my barplot2, I have  5 groups of bars and one of them is called "User Contributes" and when I save the plot "User contributes" is to big so I don't have it on my plot! Is it pssible to put the name vertically!
 
Thanks!
Sabine
		
---------------------------------
ils, photos
2008 Jun 30
2
Plotting question: Problem with strwidth in 2.7.1
R users,
I have a problem with function strwidth in 2.7.1. I'm trying to set
the plot margins in a way that horizontal
column labels will fit to the graph. tmp.t is a list of data.frame
objects. This code works well in 2.6.0.
...snip..
library(gplots)
for (i in names(tmp.t)) {
          bmp(filename=paste(i, "_", Sys.Date(), ".bmp", sep=""),
width=1038,
2005 Jun 09
1
color on barplot
Hello,
On my barplot, I have on the axis y, the names of the rows of my matrix r_mat!
is it possible to change the color of these names on my barplot? 
barplot2(t(r_mat),beside=TRUE,horiz=TRUE,plot.grid=TRUE,xlab="R",font.lab=4,las=2,xlim=c(0,1))
thanks,
Sabine
		
---------------------------------
	[[alternative HTML version deleted]]
2010 Nov 10
2
Centring titles for pairs of plots.
I would like to centre titles for pairs of plots in a 3-x-2
array.  Each row of the array corresponds to a calendar year
and I would like to have the year value centred between the
two plots in the row, and just above their upper edges.
I have attached an example in "demo.pdf" showing roughly
what I want.  I managed to produce the example using
2009 Sep 15
2
Viewing Function Code
Hi All,
I'd like to see the function code behind the barplots2() function in the
gplots package, however i come across a bit of a stumbling block of a hidden
function, can anyone help?
> library(gplots)
> methods(barplot2)
[1] barplot2.default*
   Non-visible functions are asterisked
> barplot2
function (height, ...)
UseMethod("barplot2")
<environment:
2003 Aug 07
1
abline() plot order
I am performing this sequence
barplot
title
legend
abline
When abline renders the lines they appare to be in the layer
above the bars in the graph. Is there a way to make them
render first or 'behind' the bars?
Thanks.
2004 Nov 26
2
barplot(2?) with CI from a zero reference line
Dear R Users, (and dear Marc)
First of all many thanks for the answers to my previous questions.
I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in
barplot2).
Is there a way to tweak barplot2, for example,  to do that ? 
I have tried to see what the function was but unlike other functions was
not able to
2013 Jan 20
2
"user units" in plotrix
hi all - i'm having some difficulty figuring out how to convert
between "user units" (which i can't find a definition for in the
plotrix package) and either (a) device units (e.g. inches with PDFs)
or (b) user coordinates along any particular axis.
as an example, suppose i set up a PDF device with inches, the device
has both outer and inner magins, and the plot region has
2004 Nov 24
1
reshaping of data for barplot2
Dear All,
I have  the following data coming out from 
s <- with(final,
           summarize(norm, llist(gtt,fdiab),
                     function(norm) {
                      n <- sum(!is.na(norm))
                      s <- sum(norm, na.rm=T)
                      binconf(s, n)
                     }, type='matrix')
)
ie 
     gtt fdiab   norm.norm  norm.norm2  norm.norm3
18 
2012 Mar 15
1
Bar graph with 2 Y axis
Dear R users,
 
I need to draw a barplot with 2 Y axis. I have 3 days each of wich having 2 groups (and error bar for each of them). The height of the 3rd day is too tall compared to others. That's why I have to use a second Y axis for that. I am using  "barplot2" function of "gplots" library (to be able to add error bars as well). Data and  codes currently I am using is
2007 Oct 31
2
ylim in barplot2 function?
Hi list,
I'm using barplot2 form the gplots package to plot a few numbers (I want to add SD bars later).
However, I would like the y-axis not to start from 0 but 500. When I add the parameters YLIM, something goes wrong. The graph is not 'cut off' at 500. Instead the bars seems to sink trough the bottom of the graph.
Because its a little hard to explain, here is a self-containing