Hi!
I'm using the following:
graphics_toolkit ("fltk");
x=[0:0.01:2*pi];
y=sin(x);
plot(x,y, 'g-;sin(x);')
grid on;
legend ('The sinus od X');
legend ('boxon');
legend(2);
set(gca, 'xtick', [0 pi/2 pi 3*pi/2 2*pi])
set(gca, 'xticklabel', {'0', 'Pi/2', 'Pi', '3Pi/2', '2Pi'})
axis([0 2*pi -1 1]);
print('foo.pdf', '-dpdf');
The resulting PDF has no legend text. Same goes for -depsc.
What I'm doing wrong? or do I have to switch back to Gnuplot?
I'm using a fresh new Octave 3.6.2 on a fresh new Gentoo.
(recently my SSD crashed. Don't buy OCZ!)
Sincerely,
Thomas