Changed some pgfplots settings
Merge lrsantos changes moving code to different files