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-
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-
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.
If you are running Mathematica in the standard graphical user/notebook interface you should see the plot as expected.
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.
Hi. Please see this article which shows you how to fix this configuration issue with your copy of Mathematica:
Please let me know if you have any questions about it.
If you are running it from command line then you can export the graph to see it.
In[4]:= p2 = Plot[Sin[x],{x,0,2}];
In[5]:= Export["p2.jpg",p2];