Author: bugman Date: Wed Aug 29 12:36:38 2012 New Revision: 17386 URL: http://svn.gna.org/viewcvs/relax?rev=17386&view=rev Log: Better figure layout in the NOE chapter of the user manual. Modified: trunk/docs/latex/noe.tex Modified: trunk/docs/latex/noe.tex URL: http://svn.gna.org/viewcvs/relax/trunk/docs/latex/noe.tex?rev=17386&r1=17385&r2=17386&view=diff ============================================================================== --- trunk/docs/latex/noe.tex (original) +++ trunk/docs/latex/noe.tex Wed Aug 29 12:36:38 2012 @@ -211,35 +211,35 @@ % Viewing the results. %%%%%%%%%%%%%%%%%%%%%% -\section{Viewing the results} - -Any two dimensional data set can be plotted in relax in conjunction with the program \href{http://plasma-gate.weizmann.ac.il/Grace/}{Grace}\index{software!Grace|textbf}. The program is also known as Xmgrace and was previously known as ACE/gr or Xmgr. The highly flexible relax user function \texttt{grace.write} is capable of producing 2D plots of any x-y data sets. The three commands - -\begin{exampleenv} -grace.write(y\_data\_type=`ref', file=`ref.agr', force=True) \\ -grace.write(y\_data\_type=`sat', file=`sat.agr', force=True) \\ -grace.write(y\_data\_type=`noe', file=`noe.agr', force=True) -\end{exampleenv} - -create three separate plots of the peak intensity of the reference and saturated spectra as well as the NOE. The x-axis in all three defaults to the residue number. As the x and y-axes can be any parameter the command - -\example{grace.write(x\_data\_type=`ref', y\_data\_type=`sat', file=`ref\_vs\_sat.agr', force=True)} - -would create a plot of the reference verses the saturated intensity with one point per residue. Returning to the sample script three Grace data files are created \texttt{ref.agr}, \texttt{sat.agr}, and \texttt{noe.agr} and placed in the default directory \texttt{./grace}. These can be visualised by opening the file within Grace. However relax will do that for you with the commands - -\begin{exampleenv} -grace.view(file=`ref.agr') \\ -grace.view(file=`sat.agr') \\ -grace.view(file=`noe.agr') -\end{exampleenv} - -An example of the output after modifying the axes is shown in figure~\ref{fig: NOE plot}. - \begin{figure} \centerline{\includegraphics[width=0.8\textwidth, bb=0 0 792 612]{images/noe.eps.gz}} \caption[NOE plot]{A Grace\index{software!Grace|textbf} plot of the NOE value and error against the residue number. This is an example of the output of the user function \texttt{grace.write()}.}\label{fig: NOE plot} \end{figure} + +\section{Viewing the results} + +Any two dimensional data set can be plotted in relax in conjunction with the program \href{http://plasma-gate.weizmann.ac.il/Grace/}{Grace}\index{software!Grace|textbf}. The program is also known as Xmgrace and was previously known as ACE/gr or Xmgr. The highly flexible relax user function \texttt{grace.write} is capable of producing 2D plots of any x-y data sets. The three commands + +\begin{exampleenv} +grace.write(y\_data\_type=`ref', file=`ref.agr', force=True) \\ +grace.write(y\_data\_type=`sat', file=`sat.agr', force=True) \\ +grace.write(y\_data\_type=`noe', file=`noe.agr', force=True) +\end{exampleenv} + +create three separate plots of the peak intensity of the reference and saturated spectra as well as the NOE. The x-axis in all three defaults to the residue number. As the x and y-axes can be any parameter the command + +\example{grace.write(x\_data\_type=`ref', y\_data\_type=`sat', file=`ref\_vs\_sat.agr', force=True)} + +would create a plot of the reference verses the saturated intensity with one point per residue. Returning to the sample script three Grace data files are created \texttt{ref.agr}, \texttt{sat.agr}, and \texttt{noe.agr} and placed in the default directory \texttt{./grace}. These can be visualised by opening the file within Grace. However relax will do that for you with the commands + +\begin{exampleenv} +grace.view(file=`ref.agr') \\ +grace.view(file=`sat.agr') \\ +grace.view(file=`noe.agr') +\end{exampleenv} + +An example of the output after modifying the axes is shown in figure~\ref{fig: NOE plot}. % GUI.