# How to export data?

**URL:** <https://community.freefem.org/t/how-to-export-data/597>\
**Category:** General Discussion\
**Created:** [September 28, 2020, 5:36pm UTC](https://community.freefem.org/t/how-to-export-data/597 "2020-09-28T17:36:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [September 28, 2020, 5:36pm UTC](https://community.freefem.org/t/how-to-export-data/597/1 "2020-09-28T17:36:47Z")

</div>

So I have calulated a bunch of matrices with data, and I want to graph them/perform analysis. How do I export it into a data file?

Thanks.

---

<div class="post-metadata">

**Author:** ![julienG](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/julieng/32/222_2.png) [@julienG](https://community.freefem.org/u/julienG)\
**Post date:** [September 28, 2020, 10:17pm UTC](https://community.freefem.org/t/how-to-export-data/597/2 "2020-09-28T22:17:13Z")

</div>

well it’s pretty vague… you can view matrix data

> cout \<\< yourMatrix \<\<endl;

in standard output. so you can redirect to an ofstream file…

---

<div class="post-metadata">

**Author:** ![dajopez](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@dajopez](https://community.freefem.org/u/dajopez)\
**Post date:** [October 4, 2020, 4:15am UTC](https://community.freefem.org/t/how-to-export-data/597/3 "2020-10-04T04:15:44Z")

</div>

ofstream file? i am already using cout
