gnuplot> set term dumb size 89,30 aspect 1 Terminal type set to 'dumb' Options are 'feed size 89, 30 aspect 1, 1' gnuplot> plot [-5:6.5] sin(x) with impulse ls -1 1 ++-----+-------------+------------+-------------+-------------+-------------+-++ ||||++ + + + ++||||+ + + | 0.8 ++||||+ +|||||||+ sin(x) +----+++ |||||||+ ++||||||||+ | ||||||||+ |||||||||||+ | 0.6 ++||||||| +|||||||||||| ++ |||||||||+ +|||||||||||||+ | 0.4 ++||||||||+ +||||||||||||||+ ++ ||||||||||| +|||||||||||||||| | ||||||||||| |||||||||||||||||+ | 0.2 ++|||||||||+ +|||||||||||||||||| ++ ||||||||||||+ +|||||||||||||||||||+ +| 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | +||||||||||||||||||||| ||||||||||||||||||||| | | +|||||||||||||||||||+ +|||||||||||||||||||+ | -0.2 ++ +||||||||||||||||||+ +||||||||||||||||||| ++ | |||||||||||||||||| ||||||||||||||||||+ | | +||||||||||||||||+ +||||||||||||||||+ | -0.4 ++ +||||||||||||||+ +||||||||||||||+ ++ | +||||||||||||| +||||||||||||| | -0.6 ++ ||||||||||||| +|||||||||||| ++ | +|||||||||||+ +|||||||||||+ | -0.8 ++ +||||||||||+ +|||||||||+ ++ | ++||||||++ +||||||++ | | + ++|||+ + + + ++|||| + | -1 ++-----+-------------+------------+-------------+-------------+-------------+-++ -4 -2 0 2 4 6
awk 'BEGIN{ for(x=-5;x<6.5;x+=0.1){printf("%s\t%f\n", x, sin(x))} }' \ | gnuplot -p -e "set term dumb size 89,30 aspect 1;plot '<cat'"