Fixed plotting of ki.