help-octave
[Top][All Lists]
Advanced

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

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


From: marco atzeri
Subject: Re: Legend text is not shown in generated PDF (with fltk terminal)
Date: Sun, 07 Oct 2012 08:43:07 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

On 10/6/2012 9:18 PM, Thomas Ilnseher wrote:
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


not on my windows (cygwin ) version.
it could be a ghostscript issue ?

Regards
Marco




reply via email to

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