Displaying 20 results from an estimated 3000 matches similar to: "font size relative to graphic"
2002 Jun 24
1
barplot
Hi,
a couple of simple graphics questions:
1. I have a little function that makes bar plots. Now I would like to
limit the Y-axis outside this
function (that means after calling the barplot() command) depending on
the data to be plotted .
Does anyone know how to do this ???
2. When using barplot() and limiting the yAxis, R draws the bars below
the x-axis. How can I avoid this problem ??
2005 May 04
1
Plotting means and confidence intervals by group factor using lattice graphics?
Dear R graphics gurus,
Another question about lattice graphics. This time I would like to plot
means and confidence intervals by group factor in a lattice graph. I can
not find any working lattice examples. Maybe a custom panel function is
the answer, but that is a bit beyond me for now.
The individual plots within the lattice graph could look like this:
# Example with confidence intervals
2003 Apr 16
2
barplot2
Hello,
I get a nice looking barplot using the barplot2 function in the gregmisc
package:
body2 <- barplot2(hh3, beside = TRUE,
col = c("mistyrose", "lightcyan"),
....
cex.names = 1.0, plot.ci = TRUE, ci.l = cil, ci.u = ciu,
plot.grid = TRUE)
box()
However, obviously I lose the collors when converting from ps to a pdf
(outside of R)
2006 Oct 13
2
Multiple barplots on the same axis
Hi
R newbie here :)
I need to plot 3 barplots in the same axis, something like
|
| _ _ _
| | | _ | | _ | | _
| _ | || | _ | || | _ | || |
| | || || | | || || | | || || |
-+-----------------------------------------
| v1 v2 v3
Is there any documentation describing how to achieve that, and
2006 Oct 24
1
marks to sepearat bars
I'd like to insert always after 3 bars a small mark, so the groups of three can be distinguished easier.
Thanks for your help!
David
--
2012 Oct 23
2
plotting multiple variables in 1 bar graph
I'd greatly appreciate your help in making a bar graph with multiple
variables plotted on it. All the help sites I've seen so far only plot 1
variable on the y-axis
Data set:
I have 6 sites, each measured 5 times over the past year. During each
sampling time, I counted the occurrences of different benthic components
(coral, dead coral, sand, etc.) over 5 transects in each site
site
2011 Oct 26
1
Plot complete dataset
Hello,
I am a new user of R, so I still have some basic difficulties.
I'm trying to create a bar graph completely from reading a file.
The idea was on the x axis have the columns of the table
Married ,Single,Divorced, widower
the legend Ages
18-34
35-45
46-64
65-69
70-74
the dataset
dataset
Ages Married Single Divorced widower
1 18-34 10.5 35.7 8.5 3.2
2 35-45
2005 May 13
2
help with texi2dvi
Hello,
Does anyone know how to write the files created by the call of
"texi2dvi" in another directory ?
Thanks,
Matthieu
2007 Jun 16
1
Lines connecting the boxes in a boxplot
Hello,
I'm currently using a boxplot to visualize data for three different
models. As I have three models, I'm plotting three parallel boxplots
for each factor.
This works fine - what I need now is a line connecting the medians of
each boxplot of each model. I want to do this in order to visualize
the trend that one of the models exhibit. Basically, I want to plot a
curve for each model
2005 Jan 13
1
(no subject)
Good morning,
I wrote a little code in R which has to show two graphs but I can get
only one. How can I adress the graphs in two files?
Second, I'd like, always in the same code, to add a legend to a graph.
Better, I'd like to put in such a legend a new item whose color
could remind the colour ol the columns it refers to in the plot. I wrote:
leg.txt<-c("control
2010 Jul 05
3
Problemas para graficar barras de error y fechas en el eje-x (SOLUCIONADO)
Hola Carlos,
afortunadamente, encontré una solución a mi problema (hasta ahora al menos
me funciona, veremos si más adelante se me complica con alguna otra cosa)
Llogré resolver el problema usando el parámetro "labels" de la función
"axis()". Lo que hice es algo así:
*datos <- read.table(....)*
#en el archivo datos, tengo una columna con las fechas en formato julian
hecha
2004 Dec 03
1
How to wrap or split labels on plot
Dear R gurus,
I want to wrap labels that are too long for a plot. I have looked at
strsplit(), substr(), nchar(), and strwrap(). I think it's some
combination but I'm having difficulty trying to figure out the right
combo. I think I need to create some new matrix containing the labels
already split, though I'm not sure if maybe there is a quick and dirty
way to address this
2009 May 24
2
help with replacing factors
Hi,
In the example dataset below - how can I cahnge "gray20", to "blue"
# data
black <- rep(c("black","red"),10)
gray <- rep(c("gray10","gray20"),10)
black_gray <- data.frame(black,gray)
# none of this desperate things works
# replace(black_gray$gray, gray=="gray20","red")
#
2004 Nov 16
2
Barplot difficulties
Hello. I am an R newbie struggling to learn and use R . I have read many
portions of the R Reference Manual, as well as the FAQs. Given that I
learn something new each time, I know I might be missing something
obvious. But I appeal to your good nature to help me through this
initial problem.
I have attached a pdf file to demonstrate what I desire and have listed
what my data looks like in
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
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:
2005 Nov 04
4
Dom0 eth0 has different MAC address than expected, ignoring
Hi,
I''m a newbie to Xen and I need some help. I saw user ''datto'' had a similar
problem but changed to FC4 to resolve it.
I''m currently running FC3 and Xen2.0.7. I did the usual ''make install'' and I
can boot into Xen dom0. However, my network card is not working. The driver
is found in the linux-2.6.11.12-xen0 tree but not selected. I
2008 May 19
2
labels in multiple plot
My code is the following:
point_type<-c("black","gray20","red"....)
...
for (i in 1:dim(m)[1]) {
par(pch=(18+i))
par(fg=point_type[i])
plot(m[i,], type='b', ylim = c(lower, upper), type = "l", ...)
par(new=T)
}
Now I need to add an 'explanation' to each pch.
I would have a box in the upperright
2003 Mar 22
5
CYGWIN Rsync exclude/include problem
I'm having troubles with getting rsync 2.5.5 (CYGWIN version) to include/exclude files they way I expect it to. I have mulled over the list postings and man pages regarding this and I am either missing something or ... well I don' know.
I have a drive with 12 folders in the root however, I only want to rsync 5 of them (the ones marked with an *) and in those 4 I want to exclude certain
2012 Oct 19
3
títulos inclinados
Estimados compañeros, estoy dando vueltas a cómo poner los nombres de
las provincias para que se sepa el valor que corresponde a cada una en
el siguiente código:
barplot(table(dg$prov), xlab="provincias", ylab="Frecuencia")
Recuerdo que hubo un mensaje en el foro sobre el parámetro srt=90 para
poner los títulos en vertical , pero no logro manejarlo.
Gracias,
Juan
--