plotall: Accept database name as parameter