Commit 4402bb95 authored by Kilian Lackhove's avatar Kilian Lackhove

csvIO: fix doc

parent e7b627e0
...@@ -504,7 +504,7 @@ FieldConvert -m interppointdatatofld:frompts=file1.pts file1.xml file1.fld ...@@ -504,7 +504,7 @@ FieldConvert -m interppointdatatofld:frompts=file1.pts file1.xml file1.fld
\end{lstlisting} \end{lstlisting}
or alternatively for csv data: or alternatively for csv data:
\begin{lstlisting}[style=BashInputStyle] \begin{lstlisting}[style=BashInputStyle]
FieldConvert -m interppointdatatofld file1.xml file1.csv file1.fld FieldConvert -m interppointdatatofld:frompts=file1.csv file1.xml file1.fld
\end{lstlisting} \end{lstlisting}
% %
This command will interpolate the data from \inltt{file1.pts} (\inltt{file1.csv}) to the mesh This command will interpolate the data from \inltt{file1.pts} (\inltt{file1.csv}) to the mesh
...@@ -531,7 +531,7 @@ In case of $n$-dimensional data, the $n$ coordinates are specified in the first ...@@ -531,7 +531,7 @@ In case of $n$-dimensional data, the $n$ coordinates are specified in the first
columns accordingly. columns accordingly.
% %
An equivalant csv file is: An equivalant csv file is:
\begin{lstlisting}[style=bash] \begin{lstlisting}[style=BashInputStyle]
# x, a, b, c # x, a, b, c
1.0000,-1.0000,1.0000,-0.7778 1.0000,-1.0000,1.0000,-0.7778
2.0000,-0.9798,0.9798,-0.7980 2.0000,-0.9798,0.9798,-0.7980
...@@ -583,7 +583,7 @@ The format of the file \inltt{file2.pts} is of the same form as for the ...@@ -583,7 +583,7 @@ The format of the file \inltt{file2.pts} is of the same form as for the
\end{lstlisting} \end{lstlisting}
Similar to the \textit{interppointdatatofld} module, the \inltt{.pts} file can Similar to the \textit{interppointdatatofld} module, the \inltt{.pts} file can
be interchanged with a \inltt{.csv} file: be interchanged with a \inltt{.csv} file:
\begin{lstlisting}[style=Xbash \begin{lstlisting}[style=BashInputStyle]
# x, y # x, y
0.0,0.0 0.0,0.0
0.5,0.0 0.5,0.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment