[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: |
Mike Miller |
Subject: |
Re: Legend text is not shown in generated PDF (with fltk terminal) |
Date: |
Sun, 7 Oct 2012 12:09:36 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Oct 06, 2012 at 09:18:28PM +0200, 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.
This has been fixed on the development branch, see here:
https://savannah.gnu.org/bugs/?34907
> (recently my SSD crashed. Don't buy OCZ!)
I hear good things about Crucial.
--
mike