Namespace of plot input/output handling. More...
Functions | |
| template<typename I > | |
| void | load (util::array< I > &arr, const std::string &filename) |
| template<typename T > | |
| void | save (const histo::array< T > &arr, const std::string &filename) |
| template<typename T > | |
| void | save (const util::array< T > &arr, const std::string &filename, int start_value=0) |
| Save a Milena array in a plot file. | |
| template<typename I > | |
| void | save (const image1d< I > &ima, const std::string &filename) |
| Save a Milena 1D image in a plot file. | |
Namespace of plot input/output handling.
| void mln::io::plot::load | ( | util::array< I > & | arr, | |
| const std::string & | filename | |||
| ) | [inline] |
Load a Milena 1D image from a plot file.
| [in] | ima | A reference to the image to load. |
| [out] | filename | The output file. |
| [in] | start_value | The start index value of the plot (optional). |
Load a Milena array from a plot file.
| [in] | arr | A reference to the array to load. |
| [out] | filename | The output file. |
Definition at line 93 of file plot/load.hh.
References mln::util::array< T >::append(), and mln::util::array< T >::clear().
| void mln::io::plot::save | ( | const histo::array< T > & | arr, | |
| const std::string & | filename | |||
| ) | [inline] |
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.
| void mln::io::plot::save | ( | const util::array< T > & | arr, | |
| const std::string & | filename, | |||
| int | start_value = 0 | |||
| ) | [inline] |
Save a Milena array in a plot file.
| [in] | arr | A reference to the array to save. |
| [out] | filename | The output file. |
| [in] | start_value | The start index value of the plot (optional). |
Definition at line 89 of file plot/save.hh.
References mln::util::array< T >::nelements().
| void mln::io::plot::save | ( | const image1d< I > & | ima, | |
| const std::string & | filename | |||
| ) |
Save a Milena 1D image in a plot file.
| [in] | ima | A reference to the image to save. |
| [out] | filename | The output file. |
1.7.1