Hello Jim,

thanks for your answer but  I still have problems with the labels.  
Perhaps you can help me a second time.

I have the output of cmdscale and it looks like this:

                       [,1]          [,2]          [,3]
Anth_cap      -0.011833788 -0.1091355289 -0.0222467839
Anth_crin     -0.008178993 -0.0219545815 -0.0076695878
Anth_eck       0.026900827 -0.0422055677 -0.1340542844
Anth_gram     -0.010860990  0.0080112322  0.0201743866.........

In the next step I created 3 vectors out of the three columns

PCoA1<-PCoA[,1]
PCoA2<-PCoA[,2]
PCoA3<-PCoA[,3]

After that I plotted the 3 vectors

plot3d(PCoA1,PCoA2,PCoA3, type="p", col=rainbow(1000),size=5)

and now I try to handle this text3d function and label the points in  
the graphic with the names in the first column. But I am a beginner  
and don´t know the syntax for this in the text3d.

I tried to make vectors out of every row like this:

Anth_cap<- PCoA[1,]
 > Anth_crin<- PCoA[2,]
 > Anth_eck<- PCoA[3,]
 > Anth_gram<- PCoA[4,]
 > Anth_insi<- PCoA[5,]
 > Anth_laxi<- PCoA[6,].........

and than tried to implement this in the text3d:

text3d( c(Anth_cap,
Anth_crin,
Anth_eck,
Anth_gram,
Anth_insi,
Anth_laxi,
Anth_sing,
Aski_albo_ari,
Aski_alt,
Aski_and,
Aski_capi,
Aski_chart,
Aski_deli,
Aski_ester,
Aski_ins,
Aski_long,
Aski_nit,
Aski_pani,
Aski_rug,
Calo_ad,
Calo_as,
Calo_and,
Calo_bur,
Calo_clan,
Calo_dura,
Calo_ester,
Calo__fili,
Calo_fruti,
Calo_gra,
Calo_hya,
Calo_im,
Calo_lev,
Calo_mar,
Calo_mem,
Calo_mon,
Calo_mui,
Calo_nud,
Calo_pani,
Calo_pul,
Calo_rig,
Calo_rigo,
Calo_spa,
Calo_vim,
Can_anf,
Can_are,
Can_ari,
Can_con,
Can_gran,
Can_nit,
Can_prim,
Can_parv,
Can_sau,
Can_scir,
Can_schl,
Can_spi,
Can_vir,
Cera_arg,
Cera_cae,
Cera_deci,
Cera_fim,
Cera_pers,
Cera_fis,
Cera_pul,
Cera_xer,
E_aco,
E_aggre,
E_alt,
E_amo,
E_asper,
E_atrat,
E_cae,
E_cap,
E_col,
E_cus,
E_deci,
E_deu,
E_ebra,
E_eleph,
E_equi,
E_ester,
E_ext,
E_fast,
E_fenest,
E_fil,
E_fis,
E_fuc,
E_galp,
E_glome,
E_gran,
E_grandisp,
E_hook,
E_hutch,
E_inter,
E_juncea,
E_macro,
E_mar,
E_micro,
E_mucron,
E_mui,
E_neesii,
E_nuda,
E_pers,
E_prom,
E_racem,
E_recta,
E_rig,
E_spath,
E_squam,
E_stip,
E_stok,
E_tectorum,
E_thyrsi,
E_thyrso,
E_vaginul,
E_verr,
Hydr_ratt,
Hypo_albo,
Hypo_alt,
Hypo_arg,
Hypo_arist,
Hypo_laev,
Hypo_mon,
Hypo_neesii,
Hypo_proc,
Hypo_rigi,
Hypo_rug,
Hypo_squam,
Hypo_stri,
Hypo_sul,
Hypo_syn,
Hypo_will,
Isch_aff,
Isch_ari,
Isch_cae,
Isch_cap,
Isch_cinc,
Isch_coa,
Isch_cons,
Isch_curvib,
Isch_curvir,
Isch_dist,
Isch_dut,
Isch_eleo,
Isch_els,
Isch_ester,
Isch_frat,
Isch_fusc,
Isch_gaudi_l,
Isch_gaudi_g,
Isch_goss,
Isch_hele,
Isch_hys,
Isch_kar,
Isch_lani,
Isch_lept,
Isch_longex,
Isch_macer,
Isch_mar,
Isch_mon,
Isch_nana,
Isch_nub,
Isch_ocre,
Isch_palud,
Isch_papill,
Isch_prat
Isch_pyg,
Isch_riv,
Isch_rott,
Isch_sabul,
Isch_sax,
Isch_schoe,
Isch_seti,
Isch_sie,
Isch_spor,
Isch_sub,
Isch_tenuis,
Isch_tenuissi,
Isch_tr,
Isch_uni,
Isch_ven,
Isch_vilis,
Isch_virgea,
Isch_wall,
Isch_witt,
Mast_digit,
Mast_pur,
Mast_spa,
Nev_obt,
Nev_sing,
Nev_vlokii,
Plat_ac,
Plat_an,
Plat_call,
Plat_cascad,
Plat_com,
Plat_depa,
Plat_major,
Plat_sub,
Res_aco,
Res_alti,
Res_amb,
Res_arcu,
Res_aur,
Res_bifa,
Res_bifi,
Res_bifu,
Res_bolus,
Res_brachi,
Res_brun,
Res_bur,
Res_capi,
Res_colli,
Res_com,
Res_conf,
Res_corn,
Res_cym,
Res_debilis,
Res_deci,
Res_deg,
Res_disp,
Res_disti,
Res_dista,
Res_dodii_d,
Res_dodii_p,
Res_echin,
Res_egregius,
Res_ejunci,
Res_festuci,
Res_fili,
Res_fragilis,
Res_fusi,
Res_galp,
Res_har,
Res_impli,
Res_inconuus,
Res_ing,
Res_insi,
Res_inveter,
Res_lepto,
Res_mahonii_m,
Res_mahonii,
Res_micans,
Res_miser,
Res_mlanji,
Res_mon,
Res_nod,
Res_multi,
Res_nuw,
Res_obs,
Res_occ,
Res_pachy,
Res_paludi,
Res_papy,
Res_pat,
Res_pec,
Res_pedicell,
Res_perp,
Res_perse,
Res_pillansii,
Res_pondo,
Res_praeac,
Res_pulvin,
Res_pumi,
Res_purp,
Res_quadr,
Res_quar,
Res_quin,
Res_rarus,
Res_rupi,
Res_sar,
Res_scaber,
Res_scaberu,
Res_secun,
Res_sejun,
Res_similis,
Res_sing,
Res_stere,
Res_stok,
Res_stri,
Res_strob,
Res_subtilis,
Res_tetra,
Res_trit,
Res_tube,
Res_verruc,
Res_vers,
Res_zulu,
Res_zwar,
Rho_alpina,
Rho_ar,
Rho_cap,
Rho_foli,
Rho_fruti,
Rho_gig,
Rho_gra,
Rho_vlei,
Sta_aem,
Sta_banksii,
Sta_cernua,
Sta_dis,
Sta_multi,
Sta_orn,
Sta_stok,
Sta_remota,
Sta_vagin,
Thamn_ac,
Thamn_amo,
Thamn_ar,
Thamn_bach,
Thamn_cine,
Thamn_dum,
Thamn_ellip,
Thamn_ere,
Thamn_frat,
Thamn_frutic,
Thamn_glaber,
Thamn_gra,
Thamn_guthr,
Thamn_insi,
Thamn_kar,
Thamn_lev,
Thamn_luc,
Thamn_mui,
Thamn_nu,
Thamn_obt,
Thamn_panicul,
Thamn_papy,
Thamn_pelluci,
Thamn_plat,
Thamn_plur,
Thamn_pulcher,
Thamn_punct,
Thamn_rigi,
Thamn_schl,
Thamn_spici,
Thamn_spor,
Thamn_stok,
Will_aff,
Will_aresc,
Will_boii,
Will_glome,
Will_humilis,
Will_incurv,
Will_pur,
Will_rug,
Will_stok,
Will_sulc,
Will_teres), y=NULL,  z=NULL, text=(Nam)) #Nam is a vector with the  
labelnames.

But it is still not working and it semms to that this way is really  
complicated.

Would be nice if somebody could help me.

Thanks in advance

Birgit

Am 19.07.2007 um 18:48 schrieb jim holtman:

> The documentation has:
>
> text3d(x, y = NULL, z = NULL, texts, adj = 0.5, justify, ...)
>
> Do this do it for you?
>
> On 7/19/07, Birgit Lemcke <birgit.lemcke@systbot.uzh.ch> wrote:
>> Hello R users,
>>
>> I am a newby using R  2.5.0 on a Apple Power Book G4 with Mac OS X
>> 10.4.10.
>>
>> Sorry that I ask again such stupid questions, but I haven´t found how
>> to label the points created with plot3d (rgl).
>> Hope somebody can help me.
>>
>> Thanks in advance.
>>
>> Birgit
>>
>>
>> Birgit Lemcke
>> Institut für Systematische Botanik
>> Zollikerstrasse 107
>> CH-8008 Zürich
>> Switzerland
>> Ph: +41 (0)44 634 8351
>> birgit.lemcke@systbot.uzh.ch
>>
>>
>>
>>
>>
>>
>>        [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch 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.
>>
>>
>
>
> -- 
> Jim Holtman
> Cincinnati, OH
> +1 513 646 9390
>
> What is the problem you are trying to solve?

Birgit Lemcke
Institut für Systematische Botanik
Zollikerstrasse 107
CH-8008 Zürich
Switzerland
Ph: +41 (0)44 634 8351
birgit.lemcke@systbot.uzh.ch






	[[alternative HTML version deleted]]

