Skip to content

sage-git/fortran_histogram_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Histgram drawer for Fortran

A small fortran program to draw histograms.

DEMO

$ scons
$ ./histgram_test 
 How many samples?
100000
 # of summation?
10

This IO will yield a histogram looks like:

0.135 - 0.164:        3:
0.164 - 0.192:       20:
0.192 - 0.221:       51:
0.221 - 0.249:      188:
0.249 - 0.278:      435:#
0.278 - 0.307:      980:####
0.307 - 0.335:     1899:#######
0.335 - 0.364:     3438:##############
0.364 - 0.393:     5226:#####################
0.393 - 0.421:     7353:##############################
0.421 - 0.450:     9674:#######################################
0.450 - 0.478:    11379:##############################################
0.478 - 0.507:    12183:##################################################
0.507 - 0.536:    12152:##################################################
0.536 - 0.564:    10874:############################################
0.564 - 0.593:     8679:###################################
0.593 - 0.621:     6212:#########################
0.621 - 0.650:     4215:#################
0.650 - 0.679:     2613:##########
0.679 - 0.707:     1329:#####
0.707 - 0.736:      668:##
0.736 - 0.765:      273:#
0.765 - 0.793:      120:
0.793 - 0.822:       30:
0.822 - 0.850:        5:

MEMO

This program is written in order to try to use some array oparations in fortran.

If you want to use the histogram module in other programs, only histogram.f90 is needed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published