Making Octave plot nicer

Personally, I prefer Python over Octave/Matlab. But since I'm being forced to write Matlab code for one of my courses, I started playing around with Octave. By default octave makes ugly ugly plots because it uses the X11 terminal. But there's a solution, you can switch to wxt terminal. In order to do that, add in the bottom of your .bashrc the following line: export GNUTERM=wxt

And a magic will happen: Before: [caption id="attachment_245" align="aligncenter" width="300" caption="UGLY !!!"][![UGLY !!!](]([/caption]

After: [caption id="attachment_246" align="aligncenter" width="300" caption="NICE !!!"][![NICE !!!](]([/caption]

That's all folks.

This entry was tagged: programming, octave

Share this post:


comments powered by Disqus