Try this
plot.new()
plot.window(xlim=c(0,10), ylim=c(0,15))
rect(1,0,2,10)
rect(2,0,4,4.1,col="grey")
rect(2,4.1,4,10,col="grey")
segments(0, 0, 5, 0)
segments(0, 10, 5, 10)
text(3,3.5,"41")
text(3,6, "51")
text(4.5,3..5,"G/V")
text(4.5,6, "U")
Justin BEM
BP 1917 Yaoundé
Tél (237) 99597295
(237) 22040246
----- Message d'origine ----
De : squall44 <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Lundi, 1 Octobre 2007, 8h41mn 44s
Objet : [R] how to create this graph?
Hello,
I'm trying to create the following graph:
http://www.nabble.com/file/p12974686/bar.gif
Is there a command (like pie(...) or barplot(...)) or is this just a special
case of eg barplot?
I'd be glad if someone could give me a hint on where to start.
Regards,
Tobias
--
View this message in context:
http://www.nabble.com/how-to-create-this-graph--tf4546742.html#a12974686
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] 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.
_____________________________________________________________________________
l
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.