Group Abstract Group Abstract

Message Boards Message Boards

Export matrix data to plot in third party softwares?

Posted 8 years ago

Dear all,

I have a 3D contour image from which I have extracted the data points in a matrix format. This data is not readable in third party software to plot them. The codes are below:

Img=ImageData![platelets][1]//MatrixData

I have tried exporting into cdf file, but it is unreadable in Origin software. Can you please recommend someways to export them?

Thank you.

Best regards, Surendra Anantharaman

6 Replies

That file is a text file and has tsv extension but it is not a TSV file. This likely happened because as your expression is not a list. Use Head or FullForm on your expression to see what is going on. Once you solve this you will be able to export to other format like MAT,

POSTED BY: Gustavo Delfino

Hi,

Indeed, it is a matrix. I have exported the data in .tsv file and attached here for your reference.

Now, can it be made better by exporting as mat file for easier handling by Origin?

Attachments:

For now, I recommend you to stick first with ASCII formats. An example ASCII format is TSV (tab separated value). This is an example:

Export["test.tsv",{{1,2},{3,4}}]

FilePrint["test.tsv"]
1      2
3   4

Are you sure that the expression you are trying to export is indeed a matrix?

POSTED BY: Gustavo Delfino

What formats are readable by the "Origins software"? You can use Export to generate files in a wide variety of formats.

POSTED BY: Gustavo Delfino
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard