Fixed plotting under linux.