Using Linux. I'm able to use the plot3 octave function without the figure freezing through the command line if I use the gnuplot toolkit. However, when running it from python, using the oct2py module, I can't seem to change the toolkit although it appears as available, so the plot3 figure loads but freezes instantly.
The octave code:
%works fine
>graphics_toolkit('gnuplot');
>graphics_toolkit
ans=gnuplot
>plot3([2,1],[5,2],[10,12]) %test
The python code:
>>>from oct2py import octave
>>>octave.availabe_graphics_toolkits()
Cell([['fltk','gnuplot']])
#try to change toolkit, doesnt seem to work
>>>octave.graphics_toolkit('gnuplot')
'fltk'
>>>octave.plot3([2,1],[5,2],[10,12]) #freezes upon loading
-23.804176753943704