ratio plot added to class