File:
[LON-CAPA] /
loncom /
html /
adm /
help /
tex /
Authoring_Dynamic_Plot_Gnuplot.tex
Revision
1.4:
download - view:
text,
annotated -
select for diffs
Wed Oct 13 14:47:10 2004 UTC (19 years, 10 months ago) by
vandui11
Branches:
MAIN
CVS tags:
version_1_99_1_tmcc,
version_1_99_0_tmcc,
version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0,
version_1_2_99_1,
version_1_2_99_0,
HEAD
Added text for margins and major and minor tic marks.
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:
21: See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}
22: for help on specifying colors.
23:
24: \item \texttt{height of image (pixels)}
25:
26: \item \texttt{width of image (pixels)}
27:
28: \item \texttt{Size of font to use} ``small'', ``medium'', or ``large''.
29: The font used for any text on the plot is set with this tag.
30:
31: \item \texttt{Transparent image} ``Yes'' or ``No''.
32: If the image is transparent the background color will be ignored.
33:
34: \item \texttt{Display grid} ``Yes'' or ``No''.
35:
36: \item \texttt{Number of samples for non-data plots} If a \textbf{function}
37: \ref{Authoring_Dynamic_Plot_Curve_Function} tag is used to specify the
38: \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}, this indicates the number
39: of sample points to use.
40:
41: \item \texttt{Draw border around plot} ``Yes'' or ``No''
42:
43: \item \texttt{alignment for image in html} ``Left'', ``Center'', or ``Right''.
44: This is the value used for the \texttt{align} parameter in the \texttt{img}
45: tag which embeds the plot in the problem.
46:
47: \item \texttt{Width of plot when printed (mm)} The width in mm of the plot when
48: it is printed. The default is approximately one half of a U.S. letter size
49: page, 93 mm.
50:
51: \item \texttt{Font size to use in TeX output (pts)} The size in points of text
52: on the graph when it is printed out.
53:
54: \item \texttt{Plot type} ``Cartesian'' or ``Polar''.
55:
56: \item \texttt{margin width (pts)} The left, right, top, or bottom margin width
57: measured in points.
58:
59: \item \texttt{Size of major tic marks} The size of the larger tic marks on the
60: plot border or axes, measured in graph units.
61:
62: \item \texttt{Size of minor tic marks} The size of the smaller tic marks on the
63: plot border or axes, measured in graph units.
64:
65: \end{itemize}
66:
67: The \textbf{gnuplot} tag allows the use of the the following tags:
68:
69: \begin{itemize}
70: \item \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}
71: \item \textbf{key} \ref{Authoring_Dynamic_Plot_Key}
72: \item \textbf{label} \ref{Authoring_Dynamic_Plot_Label}
73: \item \textbf{axes} \ref{Authoring_Dynamic_Plot_Axes}
74: \item \textbf{tics} \ref{Authoring_Dynamic_Plot_Tics}
75: \item \textbf{title}, \textbf{xlabel}, and \textbf{ylabel}
76: \ref{Authoring_Dynamic_Plot_Title_X_Y_Label}
77: \end{itemize}
78:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>