Message Boards Message Boards

[?] Visualize graphics using Wolfram Script?

when i code equation of graph out put appears graphics. no graph is plotted just it appears graphics only. any suggestion why its showing so. please it will be your greatfulenter image description here

POSTED BY: Megh Khadka
2 Replies
Posted 5 years ago

You could export the plot and then open it in an external application.

$ wolframscript
Wolfram Language 12.0.0 Engine for Mac OS X x86 (64-bit)
Copyright 1988-2019 Wolfram Research, Inc.

In[1]:= f[x_] := Sin[x^2]
In[2]:= Export["plot.png", Plot[f[x], {x, -Pi, Pi}]];
In[3]:= !open plot.png

On Windows, replace open with whatever application you want to use to open the png file.

POSTED BY: Rohit Namjoshi

You are using an ascii-only interface. Try a graphical front end.

POSTED BY: Gianluca Gorni
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