\hypertarget{a02618}{
\section{mln::io::plot Namespace Reference}
\label{d7/df0/a02618}\index{mln::io::plot@{mln::io::plot}}
}


Namespace of plot input/output handling.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02618_a9d8c9b4e0d40fc8b55e076810cc79d19}{load} (\hyperlink{a00027}{util::array}$<$ I $>$ \&arr, const std::string \&filename)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{a02618_a8bb74378f0b83e94001fa83978d1112d}{save} (const \hyperlink{a00246}{histo::array}$<$ T $>$ \&arr, const std::string \&filename)
\item 
{\footnotesize template$<$typename T $>$ }\\void \hyperlink{a02618_a0e561708b2ad894392ef8141843af37d}{save} (const \hyperlink{a00027}{util::array}$<$ T $>$ \&arr, const std::string \&filename, int start\_\-value=0)
\begin{DoxyCompactList}\small\item\em Save a Milena array in a plot file. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02618_ad63bcaa8245665df3bb4b8dd9342d735}{save} (const \hyperlink{a00247}{image1d}$<$ I $>$ \&ima, const std::string \&filename)
\begin{DoxyCompactList}\small\item\em Save a Milena 1D image in a plot file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of plot input/output handling. 

\subsection{Function Documentation}
\hypertarget{a02618_a9d8c9b4e0d40fc8b55e076810cc79d19}{
\index{mln::io::plot@{mln::io::plot}!load@{load}}
\index{load@{load}!mln::io::plot@{mln::io::plot}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::plot::load (
\begin{DoxyParamCaption}
\item[{util::array$<$ I $>$ \&}]{ arr, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/df0/a02618_a9d8c9b4e0d40fc8b55e076810cc79d19}
Load a Milena 1D image from a plot file.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]A reference to the image to load. \item[\mbox{\tt[out]} {\em filename}]The output file. \item[\mbox{\tt[in]} {\em start\_\-value}]The start index value of the plot (optional).\end{DoxyParams}
Load a Milena array from a plot file.


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em arr}]A reference to the array to load. \item[\mbox{\tt[out]} {\em filename}]The output file. \end{DoxyParams}


Definition at line 93 of file plot/load.hh.



References mln::util::array$<$ T $>$::append(), and mln::util::array$<$ T $>$::clear().

\hypertarget{a02618_a8bb74378f0b83e94001fa83978d1112d}{
\index{mln::io::plot@{mln::io::plot}!save@{save}}
\index{save@{save}!mln::io::plot@{mln::io::plot}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void mln::io::plot::save (
\begin{DoxyParamCaption}
\item[{const histo::array$<$ T $>$ \&}]{ arr, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/df0/a02618_a8bb74378f0b83e94001fa83978d1112d}
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. 

Definition at line 103 of file plot/save.hh.

\hypertarget{a02618_a0e561708b2ad894392ef8141843af37d}{
\index{mln::io::plot@{mln::io::plot}!save@{save}}
\index{save@{save}!mln::io::plot@{mln::io::plot}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ void mln::io::plot::save (
\begin{DoxyParamCaption}
\item[{const util::array$<$ T $>$ \&}]{ arr, }
\item[{const std::string \&}]{ filename, }
\item[{int}]{ start\_\-value = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{d7/df0/a02618_a0e561708b2ad894392ef8141843af37d}


Save a Milena array in a plot file. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em arr}]A reference to the array to save. \item[\mbox{\tt[out]} {\em filename}]The output file. \item[\mbox{\tt[in]} {\em start\_\-value}]The start index value of the plot (optional). \end{DoxyParams}


Definition at line 89 of file plot/save.hh.



References mln::util::array$<$ T $>$::nelements().

\hypertarget{a02618_ad63bcaa8245665df3bb4b8dd9342d735}{
\index{mln::io::plot@{mln::io::plot}!save@{save}}
\index{save@{save}!mln::io::plot@{mln::io::plot}}
\subsubsection[{save}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::plot::save (
\begin{DoxyParamCaption}
\item[{const image1d$<$ I $>$ \&}]{ ima, }
\item[{const std::string \&}]{ filename}
\end{DoxyParamCaption}
)}}
\label{d7/df0/a02618_ad63bcaa8245665df3bb4b8dd9342d735}


Save a Milena 1D image in a plot file. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em ima}]A reference to the image to save. \item[\mbox{\tt[out]} {\em filename}]The output file. \end{DoxyParams}
