Update the plot

Comments

1 comment

  • Alec Maxwell

    Hey Drake, 

    The lines of code that are plotting your data are contained in the last elseif loop meaning that only when Use_cwt == 1 will data be plotted. If you move the following lines outside of the if loop it should work: 

    torqueplot.torqueseries:Add(0,0)

    for i = 1,length do
    torqueplot.torqueseries:Add(x[i],t_plot[i])
    end

    torqueplot.torqueseries:Add(127,0)

    torqueplot.torqueseries:Update()

     

    Alec

    0
    Comment actions Permalink

Please sign in to leave a comment.