File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Dynamic_Plot_Curve_Data.tex
Revision 1.5: download - view: text, annotated - select for diffs
Mon Sep 9 20:59:44 2013 UTC (10 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0, HEAD
- Section titles in double quotes.

\label{Authoring_Dynamic_Plot_Curve_Data}

The \textbf{data} tag is used to specify the values plotted in the 
\textbf{gnuplot} tag (see ``Authoring Dynamically Generated Plots'' section 
\ref{Authoring_Dynamic_Plot_Gnuplot}).
The \textbf{data} tag is only used in the \textbf{Curve} tag 
(see ``Specifying Curves to Plot'' section \ref{Authoring_Dynamic_Plot_Curve}).

The data must be either a perl array, \texttt{@X}, or a comma separated list,
such as ``0.5,0.9,1.5, 2.4'' (without quotes).  'NaN' is a valid value. 
Note the the "Y" values are entered in a separate array.

The function and number of \textbf{data} tags required varies based on the 
line style (see ``Data and Line Styles'' section \ref{Authoring_Dynamic_Plot_Linestyle}) chosen for the
curve.  Some linestyles require extra arrays for supplemental information. 
In all cases the first \textbf{data} tag will hold the ``X'' values
and the second will hold the ``Y'' values.

All of the data sets in the \textbf{data} tag must have the same number of
elements.

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