GNUPLOT: saving data from smooth cumulative
问题 I make this simple cumulative and histogram plot of a uniform random distribution of real numbers (n=1000): http://www.filedropper.com/random1_1: random1.dat And the macro is: unset key clear reset n=120 #number of intervals max=4. #max value min=1. #min value width=(max-min)/n #interval width #function used to map a value to the intervals bin(x,width)=width*floor(x/width)+width/2.0 # cosi viene centrato in mezzo set xtics min,(max-min)/10,max set boxwidth width set style fill solid 0.5