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?
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?
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"]
Also:
Export["output.txt", Cases[Plot[Sin[x], {x, 0.1, 1.2}], Line@x__ -> x, Infinity], "Table"]
Plotfunction? – m_goldberg Feb 27 '13 at 13:56