version 1.4, 2013/08/22 19:42:55
|
version 1.5, 2013/09/09 20:59:44
|
Line 1
|
Line 1
|
\label{Authoring_Dynamic_Plot_Curve_Data} |
\label{Authoring_Dynamic_Plot_Curve_Data} |
|
|
The \textbf{data} tag is used to specify the values plotted in the |
The \textbf{data} tag is used to specify the values plotted in the |
\textbf{gnuplot} tag (see Authoring Dynamically Generated Plots section |
\textbf{gnuplot} tag (see ``Authoring Dynamically Generated Plots'' section |
\ref{Authoring_Dynamic_Plot_Gnuplot}). |
\ref{Authoring_Dynamic_Plot_Gnuplot}). |
The \textbf{data} tag is only used in the \textbf{Curve} tag |
The \textbf{data} tag is only used in the \textbf{Curve} tag |
(see Specifying Curves to Plot section \ref{Authoring_Dynamic_Plot_Curve}). |
(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, |
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. |
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. |
Note the the "Y" values are entered in a separate array. |
|
|
The function and number of \textbf{data} tags required varies based on the |
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 |
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. |
curve. Some linestyles require extra arrays for supplemental information. |
In all cases the first \textbf{data} tag will hold the ``X'' values |
In all cases the first \textbf{data} tag will hold the ``X'' values |
and the second will hold the ``Y'' values. |
and the second will hold the ``Y'' values. |