help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Legend text is not shown in generated PDF (with fltk terminal)


From: Thomas Ilnseher
Subject: Legend text is not shown in generated PDF (with fltk terminal)
Date: Sat, 06 Oct 2012 21:18:28 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]