Using Gnuplot sessions inside TeXmacs

Gnuplot is a flexible and powerful application for drawing graphs of functions, which can be downloaded from

    http://gnuplot.sf.net

Press TextSessionGnuplot in order to invoke Gnuplot. Here follows an example session:

This is a TeXmacs interface for GNUplot.
GNUplot]

plot [-10:10][-10:10] x+sin(x)

GNUplot]

set noclip

set yrange[-30:10]

plot x*(abs((x-4)/(x+4)))**(1./2.)

GNUplot]

set pm3d hidden 100

set style line 100 lt 3

set nosurface

set size 0.7,1

set view 80,180,1,1

set noborder

set noxtics ~set noytics ~set noztics

set parametric

set samples 36

set isosamples 20,36

set ticslevel 0

set nocolorbox

set urange [0:pi] ~set vrange [0:2*pi]

splot sin(u)*cos(v),sin(u)*sin(v),cos(u)

GNUplot]

Gnuplot supports many fancy features for users to make high-class graphs. If the number of commands is more than one, then you may separate the commands by ~ or a newline. We recall that a newline is started using S-return.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".