|
|
Строка 7: |
Строка 7: |
| Super Winnie Pooh demo 4.png|yyy | | Super Winnie Pooh demo 4.png|yyy |
| </gallery> | | </gallery> |
− |
| |
− | plot 'lang.dat' using 2:1 title 'Скорость' with boxes
| |
− |
| |
− | <hbarchart>
| |
− | C++ 45.9
| |
− | Java 8 47.3
| |
− | PyPy 34.9
| |
− | node.js 32.1
| |
− | PHP 7 4.5
| |
− | Python 3.5 2.34
| |
− | Python 2.7 2.12
| |
− | Perl 1.7
| |
− | PHP 5.6 1.0
| |
− | </hbarchart>
| |
− |
| |
− | <plot>
| |
− | binwidth=0.5
| |
− | set yrange [0:10]
| |
− | set ytics ('C++' 1, 'Java 8' 2, 'PyPy' 3, 'node.js' 4, 'PHP7' 5, 'Python 3.5' 6, 'Python 2.7' 7, 'Perl' 8, 'PHP 5.6' 9)
| |
− | set grid xtics
| |
− | set mxtics 1
| |
− | set style fill solid 1.0 noborder
| |
− | set boxwidth 0.7 relative
| |
− | plot 'lang.dat' using 2:1:(0.0):2:(($1)-(binwidth/2.0)):(($1)+(binwidth/2.0)) with boxxyerrorbars title 'Быстрее PHP 5.6 в X раз'
| |
− | DATASET lang
| |
− | 1.0 61.39
| |
− | 2.0 48.32
| |
− | 3.0 40.12
| |
− | 4.0 34.5
| |
− | 5.0 10.3
| |
− | 6.0 3.63
| |
− | 7.0 3.29
| |
− | 8.0 2.76
| |
− | 9.0 1.0
| |
− | ENDDATASET
| |
− | </plot>
| |
− |
| |
− | <plot>
| |
− | binwidth=0.5
| |
− | set yrange [0:10]
| |
− | set ytics ('C++' 1, 'Java 8' 2, 'PyPy' 3, 'node.js' 4, 'PHP7' 5, 'Python 3.5' 6, 'Python 2.7' 7, 'Perl' 8, 'PHP 5.6' 9)
| |
− | set grid xtics
| |
− | set mxtics 1
| |
− | set style fill solid 1.0 noborder
| |
− | set boxwidth 0.7 relative
| |
− | plot 'lang.dat' using 2:1:(0.0):2:(($1)-(binwidth/2.0)):(($1)+(binwidth/2.0)) with boxxyerrorbars title 'Быстрее PHP 5.6 в X раз'
| |
− | DATASET lang
| |
− | 1.0 45.9
| |
− | 2.0 47.3
| |
− | 3.0 34.9
| |
− | 4.0 32.1
| |
− | 5.0 4.5
| |
− | 6.0 2.34
| |
− | 7.0 2.12
| |
− | 8.0 1.7
| |
− | 9.0 1.0
| |
− | ENDDATASET
| |
− | </plot>
| |