Skip to Main Content
Hands-On Data Science with the Command Line
book

Hands-On Data Science with the Command Line

by Jason Morris, Chris McCubbin, Raymond Page
January 2019
Beginner to intermediate content levelBeginner to intermediate
124 pages
2h 57m
English
Packt Publishing
Content preview from Hands-On Data Science with the Command Line

Enter the mind's eye

Let's check out what this looks like. Run the following code:

gnuplot -e "set style data histograms ; set style fill solid border lt -1 ; plot 'clusterchart.dat' using 2:xtic(1) ti col, '' u 3 ti col, '' u 4 ti col, '' u 5 ti col, '' u 6 ti col"

This should produce the following in your Terminal:

Let's do the exact same operation, but output the dumb output:

GNUTERM=dumb gnuplot -e "set style data histograms ; set style fill solid border lt -1 ; plot 'clusterchart.dat' using 2:xtic(1) ti col, '' u 3 ti col, '' u 4 ti col, '' u 5 ti col, '' u 6 ti col"

We get a text-based output:

To break down what we did, check out ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Data Science at the Command Line

Data Science at the Command Line

Jeroen Janssens

Publisher Resources

ISBN: 9781789132984Supplemental Content