File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Dynamic_Plot_Curve_Function.tex
Revision 1.1: download - view: text, annotated - select for diffs
Mon Sep 22 19:54:36 2003 UTC (20 years, 9 months ago) by matthew
Branches: MAIN
CVS tags: HEAD
New plot help.

\label{Authoring_Dynamic_Plot_Curve_Function}

The \textbf{function} tag allows you to specify the curve to be 
plotted as a formula, instead of numerical data.

The function must be a mathematical expression/
Use the independent variable ``x'' for cartesian plots and ``t'' for polar 
plots.
Implicit multiplication is not accepted by Gnuplot.
The following are examples of valid functions and invalid functions:

\begin{itemize}
\item \texttt{sin(x)}
\item \texttt{sin(2*x)}
\item \texttt{sin(x**2)}
\item \texttt{exp(x)}
\item \texttt{3*x**x}
\item \texttt{exp(sin(2*x))}
\item \texttt{sinh(x)}
\item \texttt{sin(t)*cos(t)} \textit{polar plot}
\end{itemize}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>