Update plot.php

Replace BD by SQLite.