Module: sage.interfaces.gnuplot
Interface to the Gnuplot interpreter.
Module-level Functions
) |
Class: Gnuplot
Functions: console,
gnuplot,
interact,
plot,
plot3d,
plot3d_parametric
self, cmd, [file=None], [verbose=True], [reset=True]) |
Draw the plot described by cmd, and possibly also save to an eps or png file.
Input:
Note:
^
's are replaced by **'s before being passed to gnuplot.
self, [f=cos(u)*(3 + v*cos(u/2)), sin(u)*(3 + v*cos(u/2)), v*sin(u/2)], [range1=[u=-pi:pi]], [range2=[v=-0.2:0.2]], [samples=50], [title=None], [interact=True]) |
Draw a parametric 3d surface and rotate it interactively.
Input:
sage: gnuplot.plot3d_parametric('v^2*sin(u), v*cos(u), v*(1-v)') # optional -- requires gnuplot (not tested, since something pops up).
Special Functions: __call__,
__repr__,
_eval_line,
_quit_string
See About this document... for information on suggesting changes.