Group Abstract Group Abstract

Message Boards Message Boards

Avoid Plot return the text "-Graphics-"?

Posted 10 years ago

Hi, New Mathematica user here. My output is not a graph, but the text "-Graphics-". I'm running Win10 64bit system. My suspicion is it's related to the laptop capabilities.

Example:

In[1]:= Plot[{Sin[x], Sin[x]^2}, {x, -2 Pi, 2 Pi}]

Out[1]= -Graphics-

Help...

POSTED BY: Faith Newsome
8 Replies

Not sure if this will help, but maybe try quitting kernel, restarting, then immediately do

<<JavaGraphics`

I seem to recall having some trouble when I loaded it after having computed a Plot. Not sure this will solve the problem though. An indication of how one might do this is given by @Valeriu Ungureanu.

POSTED BY: Daniel Lichtblau

In Windows 10:

Start -> All apps -> Wolfram Mathematica -> Wolfram Mathematica 11

Posted 10 years ago

I am running the kernal file (i believe). How do I access the front end? I loaded java graphics but no luck.

POSTED BY: Faith Newsome

You are running the kernel directly (aka the "command-line interface"). Appearance of graphics requires the user interface (aka "front end") as well. Alternatively, load

<<JavaGraphics`

before plotting. It will render plots in a pop-up window.

POSTED BY: Daniel Lichtblau

Are you running Mathematica on a Raspberry Pi?

POSTED BY: Frank Kampas
Posted 10 years ago

Daniel,

Found it (it's buried). However, my settings are the same as referenced in your link. Any other ideas?

Faith

POSTED BY: Faith Newsome
Posted 10 years ago
POSTED BY: Faith Newsome
Posted 10 years ago

Hi Faith,

It may be due to your settings. See if this fixes the problem:

http://support.wolfram.com/kb/12490

POSTED BY: Daniel Jordan
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard