plot script and ti.jl