Changes of phase in sunspot–rain and sunspot–temperature patterns