luizaspan icon

Histograma gnuplot simples

luizaspan | PRO | 11/13/15 04:59:19 PM UTC | 0 ⭐ | 11056 👁️ | Never ⏰ | []
Ruby Gnuplot |

0 B

|

None

|

0 👍

/

0 👎

bin=0.1
hist(x,bin)=bin*floor(x/bin)+bin/2.0
plot "data" u (hist($1,bin)) : (1.0) smooth freq w boxes
 
 
# 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)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎