Post

Histogram


Code used to separate some parameter values from the complete file.

Run with awk -f code.awk file.

Download file

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
BEGIN{
col1 = 4.2
col2 = 0.
i=0.4;
}

{
    if(col1!=$1)
    {
        i=0.4
        col1 = $1
        printf("\n");    
    }

     for(j=9;j<=54;j++)
    {
    i = i + 0.1
        printf("%f %f %f\n",$1,i,$j);
    } 
    #print
}

END{
 #printf("\n");
}
This post is licensed under CC BY 4.0 by the author.