Skip to main content
4-Participant
January 16, 2026
Question

How can I export the data from a plot/graph to a text file in Mathcad?

  • January 16, 2026
  • 1 reply
  • 296 views
Hi everyone,
I have a plot in Mathcad and would like to export the underlying data to a .txt file.
What is the recommended way to extract the data from a graph and save it as a text file?
Thanks in advance for your help!

1 reply

25-Diamond I
January 16, 2026

Create vectors for the x- and y-values in increments of your choice and export them using WRITETEXT, WRITEPRN, WRITECSV, WRITEEXCEL, ... whatever seems appropriate.

In Prime you don't need to divide by the desired unit - there is a placeholder in the plot where you can type in the unit

Werner_E_0-1768565256202.png

 

The forum has a problem with attachments at the time. So if you want to attach your Prime file, you will have to zip it and upload the archive.

 

BTW, its a good idea and also expected that threads are either closed or if the problem is not solved that you ask follow up questions (e.g. or this)