Hi Nathaniel ,

Could you give us a simple example of your data using the
?dput
Function?

Basically you might want to draw the axis yourself, and connect the lines is
possible through using points(..., type = "l")
But I'd rather try and answer this with simple example data to be sure I
understand what you mean.



Tal


----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Fri, Jul 9, 2010 at 1:39 PM, Nathaniel Saxe <nathanielsaxe@hotmail.com>wrote:

>
> Hi Tal, Thanks for your help.
>
>
> I've had a look at the site, and what i wanted to do was to plot X and Y
> where X is a characters and Y is numeric. The problem I'm having now is
> that
> the X axis isn't characters but just numbers from 1 onwards and when i plot
> it, the data i have is in descending order which isn't shown on the graph.
>
> I have this at the moment:
>
> plot(1:nrow(dat),dat$Mean,type="b",xaxt="n",
>                ylim=c(min(dat$lci),max(dat$uci)),
>                xlab="",ylab="HR",)
>
> It gives me sort of what I want. It has the Y values in descending order,
> but it doesn't give me the text on the x axis and I was also thinking of
> plotting the upper and lower confidence intervals with a line connecting
> the
> two. I can add in the upper and lower CI values separately, but I don't
> know
> how to join the two together.
>
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/How-can-i-draw-a-graph-with-high-and-low-data-points-tp2282524p2283194.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

