Annotation of loncom/html/adm/help/tex/Authoring_Dynamic_Plot_Gnuplot.tex, revision 1.5
1.1 matthew 1: \label{Authoring_Dynamic_Plot_Gnuplot}
2:
3: The \textbf{gnuplot} tag allows an author to design a plot which is created
4: when it is viewed. This is intended for use in homework problems
5: where each student needs to see a distinct plot. It can be used in
6: conjunction with a \textbf{script} tag to generate random plots.
7:
8: The following parameters may be set:
9:
10: \begin{itemize}
11: \item \texttt{brief description of the plot}
12: This text is used as the \texttt{alt} parameter of the \texttt{img} tag
13: used to embed the plot.
14:
15: \item \texttt{background color of image (xffffff)}
16: See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}
17: for help on specifying colors.
18:
19: \item \texttt{foreground color of image (x000000)}
20: See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}
21: for help on specifying colors.
22:
23: \item \texttt{height of image (pixels)}
24:
25: \item \texttt{width of image (pixels)}
26:
27: \item \texttt{Size of font to use} ``small'', ``medium'', or ``large''.
28: The font used for any text on the plot is set with this tag.
29:
30: \item \texttt{Transparent image} ``Yes'' or ``No''.
31: If the image is transparent the background color will be ignored.
32:
33: \item \texttt{Display grid} ``Yes'' or ``No''.
34:
35: \item \texttt{Number of samples for non-data plots} If a \textbf{function}
36: \ref{Authoring_Dynamic_Plot_Curve_Function} tag is used to specify the
37: \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}, this indicates the number
38: of sample points to use.
39:
40: \item \texttt{Draw border around plot} ``Yes'' or ``No''
41:
42: \item \texttt{alignment for image in html} ``Left'', ``Center'', or ``Right''.
43: This is the value used for the \texttt{align} parameter in the \texttt{img}
44: tag which embeds the plot in the problem.
45:
1.3 matthew 46: \item \texttt{Width of plot when printed (mm)} The width in mm of the plot when
47: it is printed. The default is approximately one half of a U.S. letter size
48: page, 93 mm.
49:
50: \item \texttt{Font size to use in TeX output (pts)} The size in points of text
51: on the graph when it is printed out.
52:
1.4 vandui11 53: \item \texttt{Plot type} ``Cartesian'' or ``Polar''.
54:
55: \item \texttt{margin width (pts)} The left, right, top, or bottom margin width
56: measured in points.
57:
58: \item \texttt{Size of major tic marks} The size of the larger tic marks on the
59: plot border or axes, measured in graph units.
60:
61: \item \texttt{Size of minor tic marks} The size of the smaller tic marks on the
62: plot border or axes, measured in graph units.
63:
1.1 matthew 64: \end{itemize}
65:
66: The \textbf{gnuplot} tag allows the use of the the following tags:
67:
68: \begin{itemize}
69: \item \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}
70: \item \textbf{key} \ref{Authoring_Dynamic_Plot_Key}
71: \item \textbf{label} \ref{Authoring_Dynamic_Plot_Label}
72: \item \textbf{axes} \ref{Authoring_Dynamic_Plot_Axes}
73: \item \textbf{tics} \ref{Authoring_Dynamic_Plot_Tics}
74: \item \textbf{title}, \textbf{xlabel}, and \textbf{ylabel}
75: \ref{Authoring_Dynamic_Plot_Title_X_Y_Label}
76: \end{itemize}
77:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>