similar to: How to write text in bar plot in R?

Displaying 20 results from an estimated 1400 matches similar to: "How to write text in bar plot in R?"

2012 Jul 10
1
How to use external image with R plot?
Hi, I am wokring on stacked bar plot and i need to add one arrow dynamically. http://r.789695.n4.nabble.com/file/n4635959/arrow_glossy_right_red.jpg http://r.789695.n4.nabble.com/file/n4635959/Screenshot.10.png Final image: http://r.789695.n4.nabble.com/file/n4635959/Screenshot.1.png Is there any packae which can be used for merging images? -- View this message in context:
2012 Aug 12
2
How to write % in pie chart?
HI, I am plotting one pie chart and need to write % inside it. How can i write % inside it as show in figure below. http://r.789695.n4.nabble.com/file/n4640078/pie_chart.png Regards -- View this message in context: http://r.789695.n4.nabble.com/How-to-write-in-pie-chart-tp4640078.html Sent from the R help mailing list archive at Nabble.com.
2012 Jul 10
5
How to add marker in Stacked bar plot?
Hi, I am working on stacked bar plot and want to add marker(arrow) in stacked bar plot. DF=data.frame(names=c("tomato", "potato", "cabbage", "sukuma-wiki", "terere"), freq=c(7,4,5,8,20)) barplot(as.matrix(DF[,2]), col=heat.colors(length(DF[,2])), legend=DF[,1], xlim=c(0,9), width=2) http://r.789695.n4.nabble.com/file/n4635946/Screenshot.png
2012 Aug 01
2
How to increase lenght of axis according input data?
Hi, I am working on barplot. I need to plot x-axis but scale on x axis is very upto 15 while my data is upto 19. pdf("image.pdf", width=10 , height =13) par(mar=c(5,22.5,2,2)) barplot(t(data[,2:3]), beside=TRUE, col=c(rgb(.537, .769, .933),rgb(.059, .412, .659)), width = 1, horiz=TRUE,cex.names=.9, border ="white",las=1, cex.axis= 1, cex.lab=1.2)
2012 Apr 01
3
How to use Latex code in R loop?
Hi, I am newbie in Latex and R. I am working on one report in which i need to read file and display content of file by formatting (adding color boxes and colorful text for each record). For this i need to use latex code in R loop. How can i use Latex code in R loop. Any example will help me a lot. Thanks -- View this message in context:
2012 Mar 16
5
How to Group Categorical data in R?
Hi, I am newbie to R and working on result presentation? My Input table is in following format A B C D X T C K Z U Z M E V Z R Z U Z M E V P R I need to present my result in the
2012 Jun 15
1
Rename output file in Swaeve and Tex
HI, I am working on R and Latex. R CMD Sweave Test.Rnw (this generates Rnw.Tex file ) R CMD pdflatex Test.tex (It generated Test.pdf) Is there any way to change the name of of output file (Test.pdf). I want it to pass the output file name as parameter. R CMD Sweave Test.Rnw Output_File R CMD pdflatex Output_File.tex So output file name will be Output_File.pdf Regards -- View
2012 May 24
1
How to avoid numbering while printing list element?
HI, I am printing list element. print(desc[[2]]) [1] XXXXXXXXXXXXXXXXXXXxx I want to remove [1] Output should be XXXXXXXXXXXXXXXXXXXxx How can i implement it? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-avoid-numbering-while-printing-list-element-tp4631180.html Sent from the R help mailing list archive at Nabble.com.
2012 Jul 26
1
How to draw fancy image in R?
Hi, I am working on reporting and need some fancy image instead of barplot, pie etc. Like Clock and Speedometer. How can i draw myself in R? Regards -- View this message in context: http://r.789695.n4.nabble.com/How-to-draw-fancy-image-in-R-tp4637866.html Sent from the R help mailing list archive at Nabble.com.
2012 Mar 22
2
How to draw table in Latex without using xtable?
Hi, I am working on table suing R and Latex. I am writing .Rnw file first in which i m reading input file and storing into dataframe. After filtering certain values from this dataframe. I am planning to display it. I don't want to use xtable since i need to change column names. *Sample .Rnw file* @ <<echo=FALSE>>= cat("\begin{table}[ht]")
2001 Feb 05
1
Bar widths in barplots don't change
Is the width= parameter in barplot() supposed to work? I couldn't get it to work in my plot, and even in the example, data(VADeaths, package = "base") barplot(VADeaths, width=rep(0.1, 4)) the plot looks identical regardless of what I put in for the width. I looked at the source for barplot() and it looks like it SHOULD work (but what do I know). Am I doing something wrong?
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:
2009 Jun 02
5
how to add value on the bar ploted by barplot()
how to add value on the bar ploted by barplot()? and the axis label is too big, anyone know how to change their font , thanks -- Xiaogang Yang Sensorweb Research Laboratory http://sensorweb.vancouver.wsu.edu/ Washington State University Vancouver [[alternative HTML version deleted]]
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 --
2007 Jan 17
2
label option in 'barplot'?
Hello all, When using the 'barplot' function, how would one go about creating labels on the top of the bars corresponding to the actual frequency values (i.e., the height of the bar). For histograms, one can use the 'LABEL=T' parameter to this effect, but it is not available for barplot. Must one manually create such labels for a barplot (perhaps using mtext)? Thanks.
2005 Nov 14
1
bug/feature with barplot?
I have found a bug/feature with barplot that at least to me shows undesireable behaviour. When using barplot and plotting fewer groups/levels/factors(I am unsure what they are called) than the number of colors stated in a col statement, the colors wrap around such that the colors are not fixed to one group. This is mostly problematic when I make R figures using scripts, since I sometimes have
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,
2004 Jun 09
3
Dot chart question
Running R 1.8.1 on a Windows machine In dotchart, I would like to shrink the labels on the tick marks (that is, the numbers) without shrinking anything else. I could not find this in either the Rhelp archives or in ?dotchart, which recmmends cex to avoid 'label overlap', but cex shrinks all the characters in the plot. Is there a way to do this? Thanks Peter Peter L. Flom, PhD
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