Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

If you're stuck with the terminal, but have access to X11 and Java, then I suggest using JavaGraphics` , which allows you to display plots, but continue to work in the terminal. This was also answered hereanswered here, but I learnt it from from JensJens.

If you really want an ASCII plot, I suggest using the Terminal` package that gives you an ASCII plot:

<< Terminal` Plot[Sinc[x], {x, 0, 20}, PlotRange -> All] 

enter image description here

It also works in the front end (although, I don't know why anyone would use it in the FE):

enter image description here

If you're stuck with the terminal, but have access to X11 and Java, then I suggest using JavaGraphics` , which allows you to display plots, but continue to work in the terminal. This was also answered here, but I learnt it from from Jens.

If you really want an ASCII plot, I suggest using the Terminal` package that gives you an ASCII plot:

<< Terminal` Plot[Sinc[x], {x, 0, 20}, PlotRange -> All] 

enter image description here

It also works in the front end (although, I don't know why anyone would use it in the FE):

enter image description here

If you're stuck with the terminal, but have access to X11 and Java, then I suggest using JavaGraphics` , which allows you to display plots, but continue to work in the terminal. This was also answered here, but I learnt it from from Jens.

If you really want an ASCII plot, I suggest using the Terminal` package that gives you an ASCII plot:

<< Terminal` Plot[Sinc[x], {x, 0, 20}, PlotRange -> All] 

enter image description here

It also works in the front end (although, I don't know why anyone would use it in the FE):

enter image description here

Source Link
rm -rf
  • 89.8k
  • 21
  • 303
  • 498

If you're stuck with the terminal, but have access to X11 and Java, then I suggest using JavaGraphics` , which allows you to display plots, but continue to work in the terminal. This was also answered here, but I learnt it from from Jens.

If you really want an ASCII plot, I suggest using the Terminal` package that gives you an ASCII plot:

<< Terminal` Plot[Sinc[x], {x, 0, 20}, PlotRange -> All] 

enter image description here

It also works in the front end (although, I don't know why anyone would use it in the FE):

enter image description here