2
$\begingroup$

How can I extract a raw data from Mathematica? So I can re-plot on Excel. I already tried some command like Cases and ListPlot, but I don't get the results that I want.

I want to plot the following:

4738 x^2 + y (1000 + 1309 y) + x (1000 + 3333 y) = 4398
$\endgroup$
  • $\begingroup$ Welcome to Mathematica.SE! I suggest that: 1) Please take the introductory Tour now 2) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! 3) As you receive help, try to give it too, by answering questions in your area of expertise. $\endgroup$ – b3m2a1 Oct 5 '17 at 18:39
  • $\begingroup$ As for your question, I think Export will be your friend here. $\endgroup$ – b3m2a1 Oct 5 '17 at 18:41
  • $\begingroup$ Have you considered exporting a high-res image of your plot that could then be imported into Excel and other MS Office products? "PNG" is a good format for this. With p = Plot[x, {x, 0, 1}], then SetDirectory[$UserDocumentsDirectory]; Export["plot.png", Magnify[p, 2], "PNG"]; ResetDirectory[]; should do the the trick. $\endgroup$ – Edmund Oct 5 '17 at 19:04
5
$\begingroup$
sol = Solve[4738 x^2 + y (1000 + 1309 y) + x (1000 + 3333 y) == 4398, 
  y]

Plot[y /. sol, {x, -2, 2}]

enter image description here

Table[{x, y /. sol[[1]]}, {x, -1.2, 1.2, .1}] // TableForm

and

Table[{x, y /. sol[[2]]}, {x, -1.2, 1.2, .1}] // TableForm

get the raw data for Excel.

|improve this answer|||||
$\endgroup$
3
$\begingroup$
ContourPlot[
  4738 x^2 + y (1000 + 1309 y) + x (1000 + 3333 y) == 4398, {x, -1.5, 
   1.5}, {y, -3.2, 2.2}][[1, 1]]
|improve this answer|||||
$\endgroup$

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