|
From: Alan <ala...@gm...> - 2026-05-06 18:54:35
|
Despite some help at `sampling`, there is not a real Help entry for `sample`, and perhaps as a result, I may be misusing it. In a single chart, I want to plot a function (f) and an array (xs). I can plot sample[i=1:10] '+' u (xs[i]):(xs[i+1]) w steps, [0:1.5] f(x) But I want to plot the function first and then the array. The following does not work (error: undefined variable: sample): plot [0:1.5] f(x), sample[i=1:10] '+' u (xs[i]):(xs[i+1]) w steps How shd I reverse the order of the plots? Thanks! gnuplot 6.0 patchlevel 4 |