Token2Shell/MD is *NOT* gnuplot. You use Token2Shell/MD to connect to a server that has the gnuplot installed. When you start gnuplot from that server and issue a command to plot a graph, Token2Shell/MD automatically redirects its output to your local Windows screen.

In order to redirect the graphic output, Token2Shell/MD currently utilizes Tektronix 4014 terminal emulation similar to XTerm (http://invisible-island.net/xterm/xterm.faq.html). Hence, you only need to enable “xterm” terminal mode in gnuplot.

Since Token2Shell/MD utilizes Tektronix 4014 emulation to plot graphs, it also inherits the limitations of the emulation mode. The following lists some of those limitations:

  • Line colors are not supported.

    Tektronix 4014 emulation itself doesn’t support colors. However, Token2Shell/MD has options to replace line dash types to colors.

    NOTE. If you have upgraded gnuplot from version 4.x to 5.x, please note that version 5.x now has a separate “dashtype” option. Thus you may need to use additional commands (ex. “set linetype 1 dashtype 2”) to have the same dash/color effects in version 5.x (http://www.gnuplot.info/ReleaseNotes_5_0_1.html).

  • “Fill” related options are not supported (ex. with filledcurves, with boxes).



When you want to copy currently displayed graph to clipboard, you can use [ Snapshot ] menu or ALT+P keyboard shortcut.


Starting from version 12.0.0, Token2Shell/MD supports displaying SVG images using an escape control sequence: "ESC]72;<svg></svg>BEL". Displaying embedded bitmap images within SVG is also supported.

This feature is compatible with generating standalone SVG image output in gnuplot version 5.2 and higher. In gnuplot, simply set the terminal type to ‘domterm‘; your output will be automatically transferred to Token2Shell/MD and displayed on graph window.