Fix index, fix arithmetic plot