Plot generated in Octave is fully black

Viewed 6206

I am using octave 4.2.1 on fedora 26.

(I recently upgraded from fedora 25 to 26 and through this octave was upgraded from 4.0.3 to 4.2.1)

Now when I plot a figure like plot(x)the figure that comes up is just a black image. Before the up gradation i didn't had this problem. I am attaching a snapshot also

enter image description here.

How can i correct it?

2 Answers

change your graphics_toolkit

graphics_toolkit("gnuplot")

Or

graphics_toolkit("qt")

Or

graphics_toolkit("fltk")

Had the same issue. graphics_toolkit("gnuplot") was what worked for me. Both qt and fltk returned blank screens.

Related