use ajax to get different predicted plot