Diff for /loncom/html/adm/help/tex/Authoring_Dynamic_Plot_Gnuplot.tex between versions 1.5 and 1.6

version 1.5, 2005/05/31 15:21:13 version 1.6, 2013/07/05 18:30:40
Line 1 Line 1
 \label{Authoring_Dynamic_Plot_Gnuplot}  \label{Authoring_Dynamic_Plot_Gnuplot}
   
 The \textbf{gnuplot} tag allows an author to design a plot which is created  \index{gnuplot}\index{plot}\index{dynamic plot}
   The \textbf{gnuplot} LON-CAPA tag allows an author to design a plot which is created
 when it is viewed.  This is intended for use in homework problems  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  where each student needs to see a distinct plot.  It can be used in
 conjunction with a \textbf{script} tag to generate random plots.  conjunction with a \textbf{script} tag to generate curve data for random plots.
   If you are using
   static data a dynamically generated plot is not appropriate because of
   the overhead associated with generating the plot. In that case, use a
   picture (see \ref{Authoring_Adding_Pictures}).
   
   The easiset way to create a template for a gnuplot tag is to use the colorful 
   problem editor, and select \textbf{GnuPlot} from the \textbf{Insert} dropdown menu. 
   Then the boxes may be filled with the assistance of this documentation. By default, only
   the parent \textbf{gnuplot} tag and the child \textbf{curve} tag are created by 
   default when the plot is inserted with the colorful editor. Other tags can be 
   added to decorate and polish your plot using the \textbf{Insert:} dropdown 
   from the colorful editor.
   
 The following parameters may be set:  The following \textbf{gnuplot} parameters may be set:
   
 \begin{itemize}  \begin{itemize}
 \item \texttt{brief description of the plot}   \item \texttt{brief description of the plot} 
 This text is used as the \texttt{alt} parameter of the \texttt{img} tag   This text is used as the \texttt{alt} value of the \texttt{img} tag 
 used to embed the plot.  used to display the plot on a web page.
   
 \item \texttt{background color of image (xffffff)}  \item \texttt{background color of image (xffffff)}
 See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}  See the color selection section \ref{Authoring_Dynamic_Plot_Color_Selection}
 for help on specifying colors.  for help on specifying colors.
   
 \item \texttt{foreground color of image (x000000)}   \item \texttt{foreground color of image (x000000)} 
 See the section on color selection \ref{Authoring_Dynamic_Plot_Color_Selection}  See the color selection  section \ref{Authoring_Dynamic_Plot_Color_Selection}
 for help on specifying colors.  for help on specifying colors.
   
 \item \texttt{height of image (pixels)}  \item \texttt{height of image (pixels)}
Line 32  If the image is transparent the backgrou Line 45  If the image is transparent the backgrou
   
 \item \texttt{Display grid} ``Yes'' or ``No''.    \item \texttt{Display grid} ``Yes'' or ``No''.  
   
 \item \texttt{Number of samples for non-data plots}  If a \textbf{function}   \item \texttt{Number of samples for non-data plots}  If a \textbf{function} tag 
 \ref{Authoring_Dynamic_Plot_Curve_Function} tag is used to specify the  (see section \ref{Authoring_Dynamic_Plot_Curve_Function}) is used to specify the
 \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}, this indicates the number  \textbf{curve} (see section \ref{Authoring_Dynamic_Plot_Curve}), this indicates the number
 of sample points to use.  of sample points to use.
   
 \item \texttt{Draw border around plot} ``Yes'' or ``No''  \item \texttt{Draw border around plot} ``Yes'' or ``No''
Line 63  plot border or axes, measured in graph u Line 76  plot border or axes, measured in graph u
   
 \end{itemize}  \end{itemize}
   
 The \textbf{gnuplot} tag allows the use of the the following tags:  The parent \texttt{gnuplot} tag allows the use of the the following child tags 
   (only the \textbf{curve} tag is added automatically when inserting with the colorful
   editor):
   
 \begin{itemize}  \begin{itemize}
 \item \textbf{curve} \ref{Authoring_Dynamic_Plot_Curve}  \item \textbf{curve} (see section \ref{Authoring_Dynamic_Plot_Curve})
 \item \textbf{key}   \ref{Authoring_Dynamic_Plot_Key}  \item \textbf{title}, \textbf{xlabel}, and \textbf{ylabel} (see section 
 \item \textbf{label} \ref{Authoring_Dynamic_Plot_Label}  \ref{Authoring_Dynamic_Plot_Title_X_Y_Label})
 \item \textbf{axes}  \ref{Authoring_Dynamic_Plot_Axes}  \item \textbf{key}   (see section \ref{Authoring_Dynamic_Plot_Key})
 \item \textbf{tics}  \ref{Authoring_Dynamic_Plot_Tics}  \item \textbf{label} (see section \ref{Authoring_Dynamic_Plot_Label})
 \item \textbf{title}, \textbf{xlabel}, and \textbf{ylabel}   \item \textbf{axes}  (see section \ref{Authoring_Dynamic_Plot_Axes})
       \ref{Authoring_Dynamic_Plot_Title_X_Y_Label}  \item \textbf{tics}  (see section \ref{Authoring_Dynamic_Plot_Tics})
 \end{itemize}  \end{itemize}
   

Removed from v.1.5  
changed lines
  Added in v.1.6


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