File:  [LON-CAPA] / loncom / html / adm / help / tex / Authoring_Dynamic_Plot_Gnuplot.tex
Revision 1.5: download - view: text, annotated - select for diffs
Tue May 31 15:21:13 2005 UTC (19 years, 1 month ago) by felicia
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_11_0_RC1, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1, version_1_99_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Created Gnuplot color help.

\label{Authoring_Dynamic_Plot_Gnuplot}

The \textbf{gnuplot} tag allows an author to design a plot which is created
when it is viewed.  This is intended for use in homework problems
where each student needs to see a distinct plot.  It can be used in
conjunction with a \textbf{script} tag to generate random plots.

The following parameters may be set:

\begin{itemize}
\item \texttt{brief description of the plot} 
This text is used as the \texttt{alt} parameter of the \texttt{img} tag 
used to embed the plot.

\item \texttt{background color of image (xffffff)}
See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}
for help on specifying colors.

\item \texttt{foreground color of image (x000000)} 
See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}
for help on specifying colors.

\item \texttt{height of image (pixels)}

\item \texttt{width of image (pixels)}

\item \texttt{Size of font to use} ``small'', ``medium'', or ``large''.  
The font used for any text on the plot is set with this tag.

\item \texttt{Transparent image} ``Yes'' or ``No''.  
If the image is transparent the background color will be ignored.

\item \texttt{Display grid} ``Yes'' or ``No''.  

\item \texttt{Number of samples for non-data plots}  If a \textbf{function} 
\ref{Authoring_Dynamic_Plot_Curve_Function} tag is used to specify the
\textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}, this indicates the number
of sample points to use.

\item \texttt{Draw border around plot} ``Yes'' or ``No''

\item \texttt{alignment for image in html} ``Left'', ``Center'', or ``Right''.
This is the value used for the \texttt{align} parameter in the \texttt{img} 
tag which embeds the plot in the problem.

\item \texttt{Width of plot when printed (mm)} The width in mm of the plot when
it is printed.  The default is approximately one half of a U.S. letter size 
page, 93 mm.

\item \texttt{Font size to use in TeX output (pts)} The size in points of text
on the graph when it is printed out.

\item \texttt{Plot type} ``Cartesian'' or ``Polar''.  

\item \texttt{margin width (pts)} The left, right, top, or bottom margin width
measured in points.

\item \texttt{Size of major tic marks} The size of the larger tic marks on the
plot border or axes, measured in graph units.

\item \texttt{Size of minor tic marks} The size of the smaller tic marks on the
plot border or axes, measured in graph units.

\end{itemize}

The \textbf{gnuplot} tag allows the use of the the following tags:

\begin{itemize}
\item \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}
\item \textbf{key}   \ref{Authoring_Dynamic_Plot_Key}
\item \textbf{label} \ref{Authoring_Dynamic_Plot_Label}
\item \textbf{axes}  \ref{Authoring_Dynamic_Plot_Axes}
\item \textbf{tics}  \ref{Authoring_Dynamic_Plot_Tics}
\item \textbf{title}, \textbf{xlabel}, and \textbf{ylabel} 
      \ref{Authoring_Dynamic_Plot_Title_X_Y_Label}
\end{itemize}


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