Dear Emili,

text works:  the origin of the plot is in the centre upper left circle 
(X1 | X2+X3). Hence text(0, 0, "X1") would overwrite the "0.04". 
Similarly: see text(1, 0, "X2"), text(0.5, -.86, "X3")

This might help you finding the correct coordinates.

Cheers
Ingolf


Am 08.04.2011 11:22, schrieb Emili Garcia-Berthou:
> Dear list members:
>
> Does anybody know how to add labels to the sets/circles of a "varpart"
> diagram?
>
> E.g., how to add labels to the three circles obtained with:
>
> data(mite)
> data(mite.env)
> data(mite.pcnm)
> mod<- varpart(mite, ~ SubsDens + WatrCont, ~ Substrate + Shrub + Topo,
>     mite.pcnm, data=mite.env, transfo="hel")
> plot(mod)
> mtext("Variation partitioning")
>
> The standard "text" or "legend" functions used for plots do not work
> presumably because it is a "varpart" object.
>
> Thank you in advance!
>
> Emili GARCÍA-BERTHOU, Professor of Ecology
> Institut d'Ecologia Aquàtica&  Dept. Ciències Ambientals
> Universitat de Girona, E-17071 GIRONA (Catalonia, Spain)
>
> Tel.: +34 650 640 914 (dins UdG: 9221); Fax:  +34 972 418 150
> Personal web page: http://invasiber.org/EGarcia/
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

-- 
--------------------------------------------------------------------------------------------
Dr. Ingolf Kühn
Dept. Biozönoseforschung/Community Ecology

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Helmholtz Centre for Environmental Research GmbH - UFZ	
Theodor-Lieser-Str. 4 / 06120 Halle / Germany
Phone +49 345 558 5311 / Fax +49 341 235 455311
ingolf.kuehn@ufz.de / www.ufz.de

Sitz der Gesellschaft: Leipzig
Registergericht: Amtsgericht Leipzig, Handelsregister Nr. B 4703
Vorsitzender des Aufsichtsrats: MinR Wilfried Kraus
Wissenschaftlicher Geschäftsführer: Prof. Dr. Georg Teutsch
Administrativer Geschäftsführer: Dr. Andreas Schmidt
						
--------------------------------------------------------------------------------------------
NeoBiota Journal: http://www.pensoft.net/journals/neobiota
ALARM: http://www.alarmproject.net
Home: http://www.ufz.de/index.php?en=821
--------------------------------------------------------------------------------------------


	[[alternative HTML version deleted]]

