I saw Drawille <https://github.com/asciimoo/drawille> for python on Hacker 
News yesterday, and realized I'd always wanted to do something just like 
that. Julia is capable of supporting a much more elegant syntax for 
plotting than the python or javascript versions of Drawille, so I went 
ahead and built my first public Julia package: 
DotPlot.jl<https://github.com/sunetos/DotPlot.jl>

using DotPlot

dotplot(x -> cos(x); x=0:5)

You should be able to plot any continuous real-valued function with it.

<https://raw.githubusercontent.com/sunetos/DotPlot.jl/master/doc/img/dotplot-screenshot-1.png>


I hope it's useful to someone other than me; feedback/pull-requests welcome.

Note that there is another Julia package 
ASCIIPlots.jl<https://github.com/johnmyleswhite/ASCIIPlots.jl> that 
does not require unicode (but therefore the graphs are a bit uglier).

Reply via email to