|
From: <br...@ph...> - 2006-10-25 20:35:06
|
Dr. Hartmut Ehmler wrote: > I have a single plot with x ranging from [0:100] and data points in that > interval. Then I want to add a function f(x) , which describes the data > only in a limited interval, e.g. [0:50]. How do I add the function with > that range to the plot? If I try "plot [0:50] f(x), data" gnuplot will > always change the x range of the whole plot and I cannot see the data from > [50:100]. Parametric mode is the generic answer to this kind of problem: set parametric set trange [0:50] plot 'data', t, f(t) title "f(x)" |