Fixed plotting.