octave-maintainers
[Top][All Lists]
Advanced

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

Re: fltk print problem


From: Michael D Godfrey
Subject: Re: fltk print problem
Date: Tue, 19 Jan 2010 21:06:22 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 01/19/2010 08:37 PM, Shai Ayal wrote:
 Sounds very strange. gl2ps-renderer uses the c open function to open the file, overwriting the old file.
Can you send a script that will always reproduce the problem?
Do you know what kind of open it uses?  Just write, or??  Actually, as I think of
it, it could not have done an fopen with "w" since that results in an empty file
with a new time/date value.  What happens is that the old file remains with
its time values unchanged.  So, I think that someone must be testing for whether
the file exists.  The most strange thing is that if, say, 10 plot commands are put
in a script the first 3 or 4 work normally and then it fails to write the rest.

I will try to put together a simple example.  My current plots are inside a lot of other
stuff.

In the meantime I just noticed that semilogy does not work correctly.  The xlabel. ylabel,
and title are not positioned correctly.  Typically, only the xlabel appears at all.  I would
guess that semilogx has same problem and maybe loglog, ...

I will work on the problem with overwriting files, but in the meantime my "solution"
of doing a system("rm xxx") before each plot call works reliably.

Michael



reply via email to

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