Octave and the default graphics tool kit question(s)

Kenneth Wolcott kennethwolcott at gmail.com
Sat Nov 2 04:15:41 UTC 2024


Hi;

Octave and the default graphics tool kit question(s)

I tried a Rosetta Code task for "MATLAB / Octave"

<<https://rosettacode.org/wiki/Statistics/Normal_distribution#MATLAB_/_Octave>>

and when running in the Octave REPL, it hangs.

N = 100000;
x = randn(N,1);
mean(x)
std(x)
[nn,xx] = hist(x,100);
bar(xx,nn);
ans = 3.7826e-03
ans = 0.9999
octave:8> FALLBACK (log once): Fallback to SW vertex for line stipple
FALLBACK (log once): Fallback to SW vertex processing, m_disable_code: 2000
FALLBACK (log once): Fallback to SW vertex processing in drawCore,
m_disable_code: 2000

Which I now have to exit with Control-C;

If I specify

graphics_toolkit ("gnuplot")

it notifies me that this is no longer supported.

If I specify

graphics_toolkit ("fltk")

or

graphics_toolkit ("qt")

I get the above output.

Am I missing an Octave supplemental port?  Am I missing a port which
Octave could take advantage of?  Does this Octave port not support
this Octave command?

I have installed the "fltk" port.  No change to the Octave behavior.

MacOS Sequoia with M1.

Thanks,
Ken Wolcott


More information about the macports-users mailing list