octave-maintainers
[Top][All Lists]
Advanced

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

Re: Patch for error when performing simple plotting


From: Ben Abbott
Subject: Re: Patch for error when performing simple plotting
Date: Thu, 13 Oct 2011 18:14:58 -0400

On Oct 13, 2011, at 4:59 PM, Brett DiFrischia wrote:

> 2011/10/13 Jordi GutiƩrrez Hermoso <address@hidden>
>> 
>> On 13 October 2011 13:23, Brett DiFrischia <address@hidden> wrote:
>>> I was having an issue when trying to plot two vectors:
>> 
>> What was the code you were running?
>> 
>> - Jordi G. H.
> 
> Hello Jordi,
> 
> Sorry for the lack of details/evidence.  Sourcing the attached file
> fails in v3.4.2 without the patch.  Details follow.
> 
> <snip>
> 
> octave:1> source sr-20111013.oct
> error: Invalid call to strcat.  Correct usage is:
> 
>  -- Function File:  strcat (S1, S2, ...)
> 
> error: called from:
> error:   /usr/share/octave/3.4.2/m/help/print_usage.m at line 87, column 5
> error:   /usr/share/octave/3.4.2/m/strings/strcat.m at line 92, column 5
> error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_get_var__.m at line
> 114, column 11
> error:   /usr/share/octave/3.4.2/m/plot/__go_draw_axes__.m at line 40, column 
> 18
> error:   /usr/share/octave/3.4.2/m/plot/__go_draw_figure__.m at line
> 167, column 19
> error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line
> 86, column 5
> 
> 
> ----- EOL -----
> 
> This is Windows XP, FYI.
> 
> Thank you,
> Brett

Brett,

I can't duplicate this error.

Before applying your patch, I'd like to make sure there isn't another bug. 
Specifically, it looks to me as if the gnuplot variable being requested either 
doesn't exist (not an octave bug) *or* that Octave is having a problem 
communicating with gnuplot. I'd like to make sure the latter isn't the problem.

Can you check to see what variable is being requested? ... and if it is 
supported by your gnuplot?

In either event, I expect your suggestion will be a necessary part of the 
solution, but if there is a problem with communication, I'd like to consider 
giving a warning or specific error as well.

Ben






reply via email to

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