Fetch data from MySQL and plot RBF graph