Santiago Barreda
Assistant Professor, Department of Linguistics, UC Davis

Main Research Vignettes CV phonTools Statistics Links

 


vplot [phonTools]

 

vplot is a function which facilitates the plotting of vowels on a formant-space, including the easy creation of vowel plots with IPA symbols.

IPA symbols may be specified using text labels with descriptions of vowels in x-sampa. Plotting IPA symbols may also be facilitated with the use of the xsampatoIPA() and pickIPA() functions included in this package.

The image below displays some examples of the sorts of plots that can easily be made using vowelplot. These examples are by no means exhausitve, in most cases these plotting options may be combined with each other. The code used to generate this plot is given below the image.

 

 

Code used to generate examples:


## load the Peterson and Barney data data (pb52) pb52 = pb52[pb52$type=='m',] ## use only the males par (mfrow = c(3,2), mar = c(4.2,4.2,1,1)) # standard layout with linear axes vplot (pb52$f1, pb52$f2, pb52$vowel, xsampa = TRUE) # alternate layout with log axes vplot (pb52$f1, pb52$f2, pb52$vowel, logaxes = TRUE, alternateaxes = TRUE, xsampa = TRUE) # category means only vplot (pb52$f1, pb52$f2, pb52$vowel, logaxes = TRUE, meansonly = TRUE, xsampa = TRUE, cex = 3) # category means only with standard deviation ellipses vplot (pb52$f1, pb52$f2, pb52$vowel, logaxes = FALSE, meansonly = TRUE, ellipsesd = 2, xsampa = TRUE) # same as above, with alternate axes vplot (pb52$f1, pb52$f2, pb52$vowel, logaxes = TRUE, meansonly = TRUE, ellipsesd = 2, xsampa = TRUE, alternateaxes = TRUE) # individual points with standard deviation ellipses and alternate axes vplot (pb52$f1, pb52$f2, pb52$vowel, logaxes = TRUE, meansonly = FALSE, ellipsesd = 2, points = 16, alternateaxes = TRUE)