Plot different classes have different variable