/[escript]/trunk/doc/cookbook/example01.tex
ViewVC logotype

Diff of /trunk/doc/cookbook/example01.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2982 by caltinay, Wed Mar 10 04:27:47 2010 UTC revision 3029 by ahallam, Fri May 21 02:01:37 2010 UTC
# Line 295  only to define the coefficients of the P Line 295  only to define the coefficients of the P
295  advanced features, but these are not required in simple cases.  advanced features, but these are not required in simple cases.
296    
297    
298  \begin{figure}[t]  \begin{figure}[htp]
299   \centering   \centering
300     \includegraphics[width=6in]{figures/functionspace.pdf}     \includegraphics[width=6in]{figures/functionspace.pdf}
301     \caption{\esc domain construction overview}     \caption{\esc domain construction overview}
# Line 598  python example01a.py Line 598  python example01a.py
598  if the system is configured correctly (please talk to your system  if the system is configured correctly (please talk to your system
599  administrator).  administrator).
600    
 \begin{figure}  
 \begin{center}  
 \includegraphics[width=4in]{figures/ttblockspyplot150}  
 \caption{Example 1b: Total Energy in the Blocks over Time (in seconds)}  
 \label{fig:onedheatout1}  
 \end{center}  
 \end{figure}  
   
601  \subsection{Plotting the Total Energy}  \subsection{Plotting the Total Energy}
602  \sslist{example01b.py}  \sslist{example01b.py}
603    
# Line 676  The last statement generates the plot an Line 668  The last statement generates the plot an
668  As expected the total energy is constant over time, see  As expected the total energy is constant over time, see
669  \reffig{fig:onedheatout1}.  \reffig{fig:onedheatout1}.
670    
671    \begin{figure}
672    \begin{center}
673    \includegraphics[width=4in]{figures/ttblockspyplot150}
674    \caption{Example 1b: Total Energy in the Blocks over Time (in seconds)}
675    \label{fig:onedheatout1}
676    \end{center}
677    \end{figure}
678    \clearpage
679    
680  \subsection{Plotting the Temperature Distribution}  \subsection{Plotting the Temperature Distribution}
681  \label{sec: plot T}  \label{sec: plot T}
682  \sslist{example01c.py}  \sslist{example01c.py}
# Line 769  $1$, $50$ and $200$} Line 770  $1$, $50$ and $200$}
770  \label{fig:onedheatout}  \label{fig:onedheatout}
771  \end{center}  \end{center}
772  \end{figure}  \end{figure}
773    \clearpage
774    
775  We use the same techniques provided by \mpl as we have used to plot the total  We use the same techniques provided by \mpl as we have used to plot the total
776  energy over time.  energy over time.

Legend:
Removed from v.2982  
changed lines
  Added in v.3029

  ViewVC Help
Powered by ViewVC 1.1.26