Message Boards Message Boards

0
|
25799 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Plot is not showing: Out[] = -Graphics-

Posted 8 years ago

Newbie has a plot question. The graph is not showing! Not even an empty graph. What happened? Help, please!

In[4]:= Plot[Sin[x],{x,0,2}]    
Out[4]= -Graphics-
POSTED BY: Rachel Lee
3 Replies

Hi,

one would need more information. Are you running Mathematica from the command line? Then it would be quite normal that you don't get the graphical output.

enter image description here

If you are running Mathematica in the standard graphical user/notebook interface you should see the plot as expected.

enter image description here

Also it might be useful if you could post the output of this command:

$Version

Cheers,

Marco

PS: You might also want to see this and this.

POSTED BY: Marco Thiel

Hi. Please see this article which shows you how to fix this configuration issue with your copy of Mathematica:

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

Please let me know if you have any questions about it.

POSTED BY: Sean Clarke
Posted 2 years ago

If you are running it from command line then you can export the graph to see it.

  • It usually exports to the installation location.
  • May need to run it as admin as installation location file changes request admin rights.
  • Example export:

In[4]:= p2 = Plot[Sin[x],{x,0,2}];                                                                                      
In[5]:= Export["p2.jpg",p2];
POSTED BY: dhasun rat
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract