gnuplot

Command-driven interactive function and data plotting utility

brewmacoslinux
Try with needOr install directly
Source

About

Command-driven, interactive function plotting

Commands

gnuplot

Examples

Plot a simple mathematical function$ gnuplot -e "plot sin(x)"
Plot data from a file with interactive session$ gnuplot -p -e "plot 'data.txt' using 1:2 with lines"
Generate PNG output from a gnuplot script$ gnuplot -e "set terminal png; set output 'plot.png'; plot sin(x), cos(x)" script.plt