0
$\begingroup$

Recently, when i use "Plot" in mathematica 9.0, the result is -Graphics- not a picture. How can i solve this problem?

$\endgroup$
  • 3
    $\begingroup$ I think you are in Kernel mode, not in the Front End. $\endgroup$ – Kattern Jun 19 '15 at 3:20
  • $\begingroup$ Have you tried restarting? What OS are you using? Is this in a notebook? $\endgroup$ – Jens Jun 19 '15 at 3:30
  • $\begingroup$ Execute <<Version6`Graphics` and try again. $\endgroup$ – J. M. will be back soon Jun 19 '15 at 3:30
1
$\begingroup$

It's really hard to know without more information about your system and what you did.
Here is one mildly contrived way to produce the result you describe:

<< Version5`Graphics`
$DisplayFunction = ToString;

enter image description here

If that is indeed in code you ran you can, as J.M. comments above, restore this with:

<< Version6`Graphics`
$DisplayFunction = Identity;
$\endgroup$
  • 1
    $\begingroup$ Guess who is J.M.? $\endgroup$ – Dr. belisarius Jun 19 '15 at 3:52
  • 2
    $\begingroup$ @belisarius I don't feel like having to edit every reference when he updates his name. Sorry if it's confusing but frankly "Guess who it is" is confusing anyway IMHO. $\endgroup$ – Mr.Wizard Jun 19 '15 at 3:57
  • 2
    $\begingroup$ I promise to change my name back when my Gedanken Mathematica license expires and I can use the usual version regularly again. :) $\endgroup$ – J. M. will be back soon Jun 19 '15 at 4:03
  • $\begingroup$ Sorry, I wasn't asking for you to modify your answer. My half-pun was intended for helping the OP to identify the comment you was referring to. $\endgroup$ – Dr. belisarius Jun 19 '15 at 4:03
  • 1
    $\begingroup$ @Guess I think we all await that day eagerly. Your Gedanken clearly works better than mine, by the way. $\endgroup$ – Mr.Wizard Jun 19 '15 at 4:06

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