similar to: how to create this graph?

Displaying 20 results from an estimated 3000 matches similar to: "how to create this graph?"

2007 Sep 25
2
Adjust barplot to the left
Hello, I have the following problem: I created an ecdf and a barplot. Unfortunatly, the bars are not where I would like them to be (please see picture below). http://www.nabble.com/file/p12877530/problem.gif That's my code: #------------------------ par(mfrow=c(2,1), mar=c(2,3,3,2)) #ECDF x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2) F2.5 <- ecdf(x) plot(F2.5,
2007 Jul 19
2
(R) Using arguments for the empirical cumulative distribution function
Hi, I have just started using R. Now I have the following problem: I want to create an Empirical Cumulative Distribution Function and I only came so far: F10 <- ecdf(x) plot(F10, verticals= TRUE, do.p = TRUE, lwd=3) x=c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) Now I'd like to use arguments such as xlabs and main but I don't know how to integrate them. I hope someone can help me, I am
2007 Aug 20
3
Subscript
I have the following code: mtext(text="X[1]") How can I change "[1]" to be subscript? (see picture below) http://www.nabble.com/file/p12241351/subscript.gif subscript.gif Thanks for any help Tobias -- View this message in context: http://www.nabble.com/Subscript-tf4300665.html#a12241351 Sent from the R help mailing list archive at Nabble.com.
2007 Aug 24
3
changing text direction of mtext
Hello, Does anyone know if it's possible to change the text direction of mtext? I'd like to use 'mtext(side=2)' but the text should be 'left-to-right'. I couldn't find an argument for that in the help files. Thanks for any suggestions Tobias -- View this message in context: http://www.nabble.com/changing-text-direction-of-mtext-tf4321931.html#a12307342 Sent from
2007 Aug 20
2
Labelling certain points on the x-axis
Hello, I created an empirical distribution function: x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 <- ecdf(x) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = "f(x)", xlab = "x", main = "Figur 2.5 Empirische Verteilfunktion", xlim = c(1,5.5)) abline(h= (0:5)*0.2) Now I would like to label the points on the
2008 Jul 08
1
shading an area in a edf
Hi, I've got the following edf: *** x = c(1.6,1.8,2.4,2.7,2.9,3.3,3.4,3.4,4,5.2) F2.5 <- ecdf(x) plot(F2.5, verticals= TRUE, do.p = TRUE, lwd=3, ylab = "", xlab = "", xlim = c(1,5.5)) abline(h= (0:5)*0.2) #mean abline(v=mean(x), lwd=2) mtext(text=expression(bar(x) == 3.07), side=1, adj=0.462, padj=3, cex=1) *** Now I would like to
2007 Aug 21
2
Partial comparison in string vector
Hi list members I have a vector of strings x=c("w","ex","ee") And I want to get a logical vector showing the positions where my search string "e" matches the elements partially, i.e. is at least the left-hand part of the target strings, i.e. I want to get a vector FALSE TRUE TRUE. Any ideas? Thanks Steve Powell proMENTE social research research |
2007 Aug 23
7
Histogram
Hello, I wanted to create a histogram, but somehow I got stuck... The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5 The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5 Nothing I tried worked... Can anyone help me please? Thanks Tobias -- View this message in context: http://www.nabble.com/Histogram-tf4315900.html#a12288850 Sent from the R help mailing list archive at Nabble.com.
2006 Feb 22
3
2 barplots in the same graph
Hello, I have a very simple question about "2 barplots in the same graph". It seems quite easy, but I searched google for long time, haven't find solution. For example, I want one graph like: x1=seq(0,2,by=0.3) x2=seq(3,0,by=-0.1) barplot(x1,col="red") barplot(x2,col="green") It means if it's on the same graph, some bars are overlaped. So if the bars are
2007 Feb 26
0
Barplot Graph
Hello everyone: I want to draw a Par plot but I don't know how to choose different pattern of of colors for different bars to be able to distinguish them in a black and white print. I want some kinds of patterns on the bars such as '///' or '\\\' or … Suppose I have the following data in the R.dat file: 1.29 22.43 1.92 5.08 18.70 0.00 2.19 33.69 1.92 2.95
2010 Aug 04
2
ggplot2 barplot: extra markers in graph
Dear List, (self-contained example + version info at the bottom) I'm having trouble producing a barplot using the functions in ggplot2. When I use the position="dodge" option, the bars are plotted but also a number of spurious markers. More specifically, a number of black dots are plotted in the graph that should not be there. This behaviour is not seen when calling the same
2004 Dec 19
1
Different graph type can coexisti??
Please consider a data frame A B C D 1 4 5 0 2 3 2 75 3 4 1 84 4 5 1 90 5 3 0 100 Is there a way to plot column B and C as barplot *and* D as line on the same graph?? R-2.0.1 powered by Mandrake 10.1 ------------------------------------------------------------------------------------------------------------------------- Landini dr. Massimiliano Tel. mob. (+39) 347 140 11 94 Tel./Fax. (+39)
2007 Oct 08
1
How put description under the graph (using different lines)
Hello, I need to use barplot' graphs, but under the graph I need to put different things. The structure of this graph must be: MY GRAPH ------------------------------------------------------ description 1 ----------------------- ------------------------- description2 description3 where: -description 1, description 2 and description 3 are
2008 May 05
1
how to plots two pairwise data sets into a same graph
Dear all: I fitted "Observed" into a distribution as frequency. The predicted values are calculated as "predicted" for frequency. bins is "x". I plot observed, predicted against x in a graph. the commond is here.
2007 Dec 16
4
improving a bar graph
Hello, Below is the code for a basic bar graph. I was seeking advice regarding the following: (a) For each time period there are values from 16 people. How I can change the colour value so that each person has a different colour, which recurs across each of the three graphs/tie epriods? (b) I have seen much more sophisticated examples using lattice (e.g each person has a separate
2005 Mar 07
0
Dial, record, save to voicemail
I want Asterisk to do the following: - call a voicemail system by dialing a number and playing a DTMF tone - record what is said by the called party and save the recording to a file - end the recording when a particular phrase is said by the called party - put that recording into an Asterisk voicemail box and notify the user I've made a start below (on the easy bit). Any further pointers on
2011 Dec 16
1
problem with tick graph
Dear all, I'm having problems with the tick of my graph. I'mpcombining lines and barplot. For my I'm using the function axis combined with the function pretty to have more efficient tick, but all my tick (for example, 300 as my max tick and -100 as my min tick) are not printed on my graph. So I would like to have for the left axis the seq from 0 to 100 (with 0 and 100 printed on
2008 Jun 13
1
Switching the order of legend boxes in a lattice bar graph
I suspect there is a simple solution to this problem, but have been unable to find it. Below is some code that I have run to create 3 lattice graphs. I have been asked to change the legend so that the 'No' and dark blue are above "Y" and light blue in the legend to mirror the stacked bars in the graph which feature dark blue above light blue. I have tried changing the data
2003 Nov 27
1
problems with R graph.
Hello, I have some problems to generate graph with R... I am working on two different platform : - Compaq Alpha Server (Unix True 64 5.1) + R 1.6 - Sparc Server (Sun Solaris 8) + R 1.6 I use different functions like the bitmap function, the legend function and the barplot function. The graph are made by the same script on the both platform. I obtain nice graph on the compaq server but the
2005 Jul 11
1
choice of graph
Hi, It's about 2 weeks that I think about a graph to translate my datas. But I don't have an really idea. I 'm going to expose you my problem: I have a questionnaire with 15 questions and you have more possibilties to answer to these. For example: The trainer is competent: Yes No I have learn a lot at the training: Bad Quit bad Medium Good Quit