karplus equation in gnuplot
问题 I want plot karplus equation f(t)=a*cos(t+o)**2 + b*cos(t+o) + c with gnuplot for different value of a, b, c, o values. In particular the parameters a, b, c, o have tabular form (in file data.dat): a b c o 1 2 3 60 4 5 6 180 -3 -5 -9 -120 and t has range from -180 to 180 for each row in data.dat file. Can you help me? Thanks everyone. Lucio 回答1: AFAIK it is not possible to have a "parameter file" with different parameters to plot in a function since the plot command can either take a function