standard stars code and plots