[R] Can R make an usual dotplot

aegea gcheer3 at gmail.com
Thu Feb 18 05:46:32 CET 2010


Dear R experts,

Can R make an usual dotplot just like Minitab and other softwares?

I have the following data, and can use dotchart to graph a dotplot:


y=c(2.873438152e-01,   -8.732895642e-01,  
4.579001889e-01,   1.047395204e+00,  
 8.491182299e-02 , -1.938007105e+00,  
-1.273708343e+00,   9.848010588e-05,  
7.238490734e-01,  -1.490552717e+00)

dotchart(y, xlab="10 observations from N(0,1)", xlim=c(-2, 4), pch=19)


But I don't want the dots on different level of y-axis since y-axis has no
meaning here. 
I also tried to load the package 'UsingR'
DOTplot(y0)
DOTplot(y1)
These two functions can plot the graphs I need but I cannot label the
x-axis, choose the type of the dot, limit the x-axis, etc. these features
don't work in DOTplot.

Is there a way I can get a dotplot in R which is look like the plot graphed
by DOTplot but has the features other plots can have in R?

Many many thanks!
-- 
View this message in context: http://n4.nabble.com/Can-R-make-an-usual-dotplot-tp1559649p1559649.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list