Advertisement
luizaspan

Histograma gnuplot simples

Nov 13th, 2015
2,631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bin=0.1
  2. hist(x,bin)=bin*floor(x/bin)+bin/2.0
  3. plot "data" u (hist($1,bin)) : (1.0) smooth freq w boxes
  4.  
  5.  
  6. # onde a normalização entra no eixo y. Se temos N pontos no arquivo "data":  invés de (1.0) seria (1.0/N/bin)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement