⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 string.gp

📁 ns-2的文件包。多多下载
💻 GP
字号:
#! /usr/bin/env gnuplotset linestyle 1 lw 2 pt 7 set linestyle 2 lw 1 pt 2  set linestyle 3 lw 1 pt 8 set linestyle 4 lw 1 pt 4  set linestyle 5 lw 1 pt 6  set linestyle 6 lw 1 pt 5  set linestyle 7 lw 1 pt 1 set linestyleset term postscript eps 15set output "string.eps"set data style pointsset size 1,1.5set multiplotset key right bottomset size   1,.5set origin 0.0,1#set ytics 0.2set ylabel "Utilization"set xlabel "(a) Link ID"set yrange [ * : *]plot 'u.1' title 'XCP' ls 1,  'u.1' notitle with lines ls 1          #     'u.2' title 'RED' ls 2,  'u.2' notitle with lines ls 2,          \#     'u.3' title 'DropTail' ls 3, 'u.3' notitle with lines ls 3,          \#     'u.4' title 'REM' ls 4,  'u.4' notitle with lines ls 4pause 0set key right topset size   1,.5set origin 0,0.5#set ytics  100set ylabel "Average Queue (packets)"set xlabel "(b) Link ID"set yrange [ * : * ]plot 'q.1' title 'XCP' ls 1,  'q.1' notitle with lines ls 1#     'q.2' title 'RED' ls 2,  'q.2' notitle with lines ls 2,          \#     'q.3' title 'DropTail' ls 3, 'q.3' notitle with lines ls 3,          \#     'q.4' title 'REM' ls 4,  'q.4' notitle with lines ls 4pause 0set size   1,0.5set origin 0,0#set ytics  500set ylabel "Packet Drops"set xlabel "(c) Link ID"plot 'd.1' title 'XCP' ls 1,  'd.1' notitle with lines ls 1#     'd.2' title 'RED' ls 2,  'd.2' notitle with lines ls 2,          \#     'd.3' title 'DropTail' ls 3, 'd.3' notitle with lines ls 3,          \#     'd.4' title 'REM' ls 4,  'd.4' notitle with lines ls 4pause 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -