Table Of Contents

Previous topic

Troubleshooting FAQ

Next topic

Talks, tutorials, and videos

This Page


Inline plotting

Figure 10: Showing inline plotting using matplotlib.

Pandas tables

Figure 11: Showing inline HTML output display using pandas.

GraphTerm Notebook mode running Python

Figure 12: Showing notebook mode for Python. Note the use of raw_input to read data from the terminal within notebook mode.

Inline plotting with R

Figure 13: Showing inline plotting with R, using helper functions from gterm.R

GraphTerm Notebook mode running R

Figure 14: Showing notebook mode for R

Simple inline animation using matplotlib

Figure 15: Showing the screen for the demo program which generates a series of plots as PNG files and displays sequentially them inline.

Inline contour plots using matplotlib

Figure 16: Inline display of a 2-dimensional filled contour plot of surface air temperature on the globe, generated by matplotlib.

Dashboard for a “virtual computer lab” - listing user terminal activity

Figure 17: Showing the instructor “dashboard” in the virtual computer lab, with a listing of all user terminals, including notebook names and modified cell count, generated by the gadmin command.

Dashboard for a “virtual computer lab” - viewing user terminals

Figure 18: Showing the instructor “dashboard” in the virtual computer lab, with embedded views of student terminals generated using the gframe command.

ls vs. gls

Figure 19: Comparing plain vanilla ls command and the graphterm-aware gls. The icons and the blue filenames are clickable. (The icon display is optional, and may be disabled.)

Output of the command, which embeds six smaller terminals within the main terminal, running six different commands from the GraphTerm toolchain: (i) live twitter stream output using gtweet, (ii) weather info using yweather, (ii)i slideshow from markdown file using greveal and reveal.js, (iv) word cloud using d3cloud and d3.js, (v) inline graphics using, and (vi) notebook mode using the standard python interpreter.

Inline word cloud using d3.js

Figure 21: Inline word cloud display using d3.js


Figure 22: Showing the basic dark theme, with two embedded terminals to illustrate the contrast with the default and bold themes

stars3d theme, with icons enabled

Figure 23: Showing output of the cat episode4.txt command below the output of the gls command, using the 3D perspective theme. This is actually a working theme, although it is meant for primarily for “show”. Scrolling through a large text file using the vi editor in this theme gives a nice roller coaster effect! (This screenshot was captured with Google Chrome running on Mac OS X Lion, which supports hidden scrollbars. On other software platforms, the scrollbar will be visible.)

Graphical weather forecast using Yahoo Weather API

Figure 24: Showing the screen for the command yweather to illustrate inline HTML form display. Since the location argument is omitted, the form is displayed to enter the location name.

Figure 25: The submitted location information is used to generate a new command, yweather -f  "new york", and execute it for inline weather display.

Inline HTML document display

Figure 26: Showing the screen for the command rs2html README.rst | gframe to illustrate inline HTML document display. The rs2html README.rst command converts a ReStructured Text doument to HTML, writing the output to stdout. The gframe command wraps the HTML in an iframe and displays it inline.

Text editing with emacs

Figure 27: Showing the screen for the command emacs to illustrate backwards compatibility with the traditional terminal interface.

Graphical code editing using a “cloud” editor

Figure 28: Showing the screen for the command gvi to illustrate graphical editing using the Cloud9 editor (ACE).

Code tracing using online version of Python Tutor

Figure 29: Showing the screen for the command gtutor $GTERM_DIR/bin/pytutor/example-code/ | gframe -f, which displays an inline version of the Online Python Tutorial from

Collapsed mode

Figure 30: Showing the screen when all command output is collapsed. Clicking on any of the underlined prompts will display the command output. Also note the Bottom menubar, which is enabled by clicking on the last prompt. Clicking on Control and then any of the prompts will cause the corresponding command to be pasted.

Split scrolling

Figure 31: Showing the split-screen scrolling mode, where the command line is anchored at the bottom of the screen. Clicking on gls output will paste filenames into the command line.

On the Raspberry Pi

Figure 32: Showing GraphTerm running on a credit-card sized computer, Raspberry Pi, remotely accessed using a laptop. It runs rather slowly, but is usable.

Web slideshows using Landslide

Figure 33: Showing the output of glandslide -o | gframe command, which displays a HTML5-based slideshow using Markdown. The displayed slide has an iframe with another GraphTerm session which is also displaying a slideshow...

Live tweet stream using gtweet

Figure 34: Showing the output of the gtweet -f -s hurricane command, which displays a live tweet stream mode in fullscreen mode for the specified search term.

GraphTerm Notebook mode running IDL

Figure 35: Showing notebook mode for IDL