strcat error on printing plots

Ben Abbott bpabbott at mac.com
Tue Jul 21 05:55:44 CDT 2009


On Jul 21, 2009, at 3:06 AM, Marco Atzeri wrote:

> --- Lun 20/7/09, Ben Abbott <bpabbott at mac.com> ha scritto:
>
>> Da: Ben Abbott <bpabbott at mac.com>
>> Oggetto: Re: strcat error on printing plots
>> A: "Marco Atzeri" <marco_atzeri at yahoo.it>
>> Cc: "octave maintainers list" <maintainers at octave.org>
>> Data: Lunedì 20 luglio 2009, 18:26
>> On Jul 20, 2009, at 6:54 AM, Marco
>> Atzeri <marco_atzeri at yahoo.it>
>> wrote:
>>
>>> Dear all,
>>> using 3.2.0 on cygwin and printing enough plots
>>>
>>> a="prova..png";
>>> x=1:100;
>>> plot (x,x)
>>> print( "prova1.png","-dpng")
>>> print( "prova2.png","-dpng")
>>> print( "prova3.png","-dpng")
>>> print( "prova4.png","-dpng")
>>> print( "prova5.png","-dpng")
>>> print( "prova6.png","-dpng")
>>> print( "prova7.png","-dpng")
>>>
>>>
>>> I obtain the following multiple message
>>>
>>> ********************************************
>>> error: Invalid call to strcat.  Correct usage
>> is:
>>>
>>> -- Function File:  strcat (S1, S2, ...)
>>>
>>>
>>> Additional help for built-in functions and operators
>> is
>>> available in the on-line version of the manual.
>> Use the command
>>> `doc <topic>' to search the manual index.
>>>
>>> Help and information about Octave is also available on
>> the WWW
>>> at http://www.octave.org and via the help at octave.org
>>> mailing list.
>>> warning: __gnuplot_get_var__: some elements in list of
>> return values
>>> are undefined
>>>
>> *******************************************************
>>>
>>> Is this fault happening also on other platform ?
>>>
>>> I presume some replot cleaning problem in
>>>
>>> /usr/share/octave/3.2.0/m/plot/print.m
>>>
>>> but eventually is a strcat issue
>>>
>>> Thanks
>>> Marco
>>
>> Do you get the same error when you type ...
>>
>> figure (1)
>> __gnuplot_get_var__ (gcf, "GPVAL_TERMINALS")
>>
>
> Hi Ben,
> no, the output in this case is
>
> ans = NaN
>
> The fault I have is never on the plot command but always
> when I call print enough times (usually at the third or forth
> call).

Do you run those commands from a script or by pasting them into the  
command window?

Ben





More information about the Octave-maintainers mailing list