Make plots with a sql-like syntax