octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #50318] Error using print and the append flag


From: Guillaume
Subject: [Octave-bug-tracker] [bug #50318] Error using print and the append flag
Date: Wed, 15 Feb 2017 12:40:37 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0

URL:
  <http://savannah.gnu.org/bugs/?50318>

                 Summary: Error using print and the append flag
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Wed 15 Feb 2017 05:40:36 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The "-append" flag does not seem to work correctly when printing:


>> h = figure;plot(rand(5));
>> file = [tempname '.ps'];
>> print(h,file,'-dpsc2','-append')
>> print(h,file,'-dpsc2','-append')
error: copyfile: no files to move
error: called from
    copyfile at line 85 column 5
    print at line 349 column 5
>> print(h,file,'-dpsc2','-append')


With Matlab, the output would be a file with two identical pages. The behavior
is that the file is created if it does not exist and a new page is added to
the existing file otherwise.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50318>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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