help-octave
[Top][All Lists]
Advanced

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

Re: One-off error in piping data to Gnuplot: bug link is a dud


From: Ben Abbott
Subject: Re: One-off error in piping data to Gnuplot: bug link is a dud
Date: Tue, 29 Nov 2011 17:03:10 -0500

On Nov 29, 2011, at 12:40 PM, Puranjoy Bhattacharya wrote:

> From: Ben Abbott <address@hidden>
> To: Puranjoy Bhattacharya <address@hidden> 
> Cc: help-octave Octave <address@hidden> 
> Sent: Tuesday, November 29, 2011 1:24 AM
> Subject: Re: One-off error in piping data to Gnuplot: bug link is a dud
> 
>> On Nov 27, 2011, at 11:45 AM, Ben Abbott wrote:
>> 
>> > On Nov 27, 2011, at 3:27 AM, Puranjoy Bhattacharya wrote:
>> > 
>> >> From: Ben Abbott <address@hidden>
>> >> To: Puranjoy Bhattacharya <address@hidden> 
>> >> Cc: "address@hidden" <address@hidden> 
>> >> Sent: Sunday, November 27, 2011 4:51 AM
>> >> Subject: Re: One-off error in piping data to Gnuplot: bug link is a dud
>> >> 
>> >>> On Nov 26, 2011, at 6:39 AM, Puranjoy Bhattacharya wrote:
>> >>> 
>> >>>> I have been facing the problem with a Windows7 installation of Octave. 
>> >>>> However, the bug report link that is quoted everywhere (quoted below) 
>> >>>> is dead. Please send me the bugfix. I have faced this problem once 
>> >>>> before, and remember having used a fix in form of building or 
>> >>>> installing some package from Octave command line.
>> >>>> 
>> >>>> "When plotting Octave occasionally gives me errors like `gnuplot> 9 
>> >>>> 0.735604 line 26317: invalid command'.
>> >>>> There is a known bug in gnuplot 4.2 that can cause an off by one error 
>> >>>> while piping data to gnuplot. The relevant gnuplot bug report can be 
>> >>>> found at 
>> >>>> http://sourceforge.net/tracker/index.php?func=detail&aid=1716556&group_id=2055&atid=102055.";
>> >>> 
>> >>> The bug report you are referring to is with gnuplot.
>> >>> 
>> >>> The mail list you've sent your inquiry to is for octave.
>> >>> 
>> >>> I recommend you update you gnuplot to a more recent version.
>> >>> 
>> >>> I'm not a Windows user, so I can't help with that, but for someone to 
>> >>> help you, you'll need to tell us where you got your copy of Octave from.
>> >>> 
>> >>> Ben
>> >> 
>> >> Thanks for the prompt reply. The problem concerns piping data to GnuPlot 
>> >> from Octave on Windows7. This GnuPlot in question is bundled with the 
>> >> Windows installer of Octave downloaded from octave.sourceforge.net. 
>> >> There's no other GnuPlot installed on the system. I guess this refers to 
>> >> an issue that's probably been solved for Linux, but persists on Windows. 
>> >> The quoted comment is from the Octave FAQ.
>> >> 
>> >> The problem that I'm facing is that when I use plot or imagesc from 
>> >> Octave, I end up getting a one-off error. E.g. first plot command 
>> >> produces no graph, second plot command produces the first graph, third 
>> >> produces the second, and so on.
>> >> 
>> >> With regards,
>> >> Puranjoy
>> > 
>> > Please "reply-all". That way those more knowledgeable can comment as well. 
>> > In addition, by replying at the bottom of the email it is easier for those 
>> > who arrive late to follow along.
>> > 
>> > It is possible the problem you are seeing still exists for the developers 
>> > sources. So I'd like to help fix this. If the problem has already be 
>> > solved in the developers sources, there is a reasonable chance you'll be 
>> > able to apply the same fix to your version.
>> > 
>> > Unfortunately, I don't have access to a Win7 machine. Until that changes, 
>> > I won't be much help in debugging this.
>> > 
>> > Ben
>> 
>> Puranjoy,
>> 
>> I've installed Win7 via VirtualBox on MacOSX and then installed Octave-3.2.4 
>> from the Octave-Forge link.
>> 
>> I tried "demo legend". Each of the plots displayed correctly for me.
>> 
>> I'm unable to duplicate the problem you've encountered. If "demo legend" 
>> works correctly for you, can you give me an example of a simple script that 
>> does not?
>> 
>> Ben
> 
> "demo legend" works for me too. However, right after the demo, if I try 
> something like
> >> plot(1:100)
> the problem starts. There's no output. Then I try
> >> plot(1:200)
> and I get the plot of 1:100, and so on.

I still don't see the problem. Try removing oct2mat as Jordi suggested and let 
us know if that fixes the problem for you.

Ben



reply via email to

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