I want to smooth my Density of state curve and for that I want to implement method of running average of 2 or 3 points using gnuplot. I tried with all smoothing operations (smooth unique, csplines etc.) but the curve doesn't look good or if it is smooth it loses it's property.
can anyone please provide a script? suppose I want to use this command plot 'TDOS.dat' u 1:avg3($2) w l ...... the second column should follow the running average technique.Please help me.