Plotting works fine here, despite not working in Jupyter notebooks:
octave('plot(rand(10))')
You can also type %octave
%octave plot(rand(10,2), rand(10,1))