Gnuplot has an output mode - called "dumb" - that prints an ASCII plot to the terminal. See e.g. <a href="http://pastebin.com/WHcLZHPr" rel="nofollow">http://pastebin.com/WHcLZHPr</a> This is very handy when running scientific codes on remote machines, and works in any terminal (not just iTerm2 like the submission).<p>I've been looking for a matplotlib extension to do the same thing, without success.
Julia has something similar too. TerminalExtensions.jl<p><a href="https://groups.google.com/forum/m/#!topic/julia-users/zj4nQlDGNoc" rel="nofollow">https://groups.google.com/forum/m/#!topic/julia-users/zj4nQl...</a>
Great idea, I was just thinking yesterday that something like this should exist. Matplotlob seems to like automatically switching windows every time you plot something, so annoying!