|
From: <fi...@ig...> - 2024-04-21 13:30:15
|
Dear Gnuplot Users, suppose the following simple gnuplot example snippet which is used to plot a complex valued function: w = 5 r = 3 f(t) = r * exp(I * w * t) plot sample [t=0:1] '+' u (real(f(t))):(imag(f(t))) w l here the function f(t) is evaluated twice - not desirable because of performance. How can this be done with only one evaluation of f(t)? Thanks for any advice and best regards Torsten -- ------------------------------------------------------------------------ Torsten Finke fi...@ig... ------------------------------------------------------------------------ |