adding fun with R plots and matlab