Character-mode (shell) plots with Matlab / Octave?

后端 未结 3 2057
无人及你
无人及你 2020-12-06 18:56

This is maybe a bit odd question, but anyway. Sometimes, I am using ssh into servers or laboratory computers all over the place (continent) in order to check stuff and somet

3条回答
  •  没有蜡笔的小新
    2020-12-06 19:29

    In the case of Octave you should have no problem. I usually do my computations on remote machines over ssh, and use it all the time.

    As long as you have gnuplot as your graphics toolkit (for future reference, as of 3.6.2 this is still the default but may change to fltk in the future), you'll get ASCII plots if there's no X display.

    ASCII plot of cos and sin functions with labels

    To make sure you have the correct graphics toolkit, just type graphics_toolkit at the prompt. To change it to gnuplot use graphics_toolkit gnuplot.

提交回复
热议问题