Time to the origin using the bang-bang policy
Please replace rainbow color map - it has become a bad taste within academic environment because rainbow colors can't be perceived linearly and so there had been invented meaningful colors maps
See paper "Why We Use Bad Color Maps and What You Can Do About It" by Kenneth Moreland
Also, matplotlib has got great article about custom color maps you can use out of the box along with rationale