Saving your plots

In most Microsoft Windows$\circledR$ applications, you can save a plot either with a direct option in a File menu, or if nothing else, by right-clicking on the plot and selecting "Copy". Unfortunately, with the plots described in this document (and on Linux, at least), this is not possible. Instead, the user must separately send the plot to a file.

In the draw package plots can be saved with the terminal argument. The following are a couple of examples of what this looks like, and see the documentation for terminal for more details and options. For a standard 2d plot you can usually get by with something like this:


\begin{lstlisting}[basicstyle={\ttfamily }]
draw3d(enhanced3d = true,
implicit...
...4, y,-4,4, z, -6,6),
terminal=eps_color, file_name=''plot'');
\end{lstlisting}

But for the more complicated vector field plots you need something like this:


\begin{lstlisting}[basicstyle={\ttfamily }]
apply(draw3d,
append([color=blue,
terminal=eps_color,
file_name=''plot''],
vect3));
\end{lstlisting}



G. Jay Kerns 2009-12-01