Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This question already has an answer here:

How can I export data, which is plotted using something such as:

Plot[Γ[x]/(1.6*10^(-19)), {x, 0.1, 1.2}]

into a .txt file in Mathematica?

share|improve this question
Are you looking to export the plot as image or do you really want the point data created by the Plot function? –  m_goldberg Feb 27 '13 at 13:56
add comment

marked as duplicate by Yves Klett, Mr.Wizard Feb 27 '13 at 14:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

You need to create the data using Table, as

Table[{x, Γ[x]/(1.6*10^(-19))}, {x, 0.1, 1.2, 0.01}]

and export the result using Export["output.txt", result, "Table"]

share|improve this answer
add comment


Export["output.txt", Cases[Plot[Sin[x], {x, 0.1, 1.2}], Line@x__ -> x, Infinity], "Table"]
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.