[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem with Pilot in 3.2.4
From: |
Ian Journeaux |
Subject: |
RE: Problem with Pilot in 3.2.4 |
Date: |
Thu, 4 Aug 2011 08:01:47 -0500 |
-----Original Message-----
From: Ben Abbott [mailto:address@hidden
Sent: Tuesday, August 02, 2011 1:10 PM
To: Ian Journeaux
Cc: help-octave Octave
Subject: Re: Problem with Pliot in 3.2.4
On Aug 2, 2011, at 1:31 PM, Ian Journeaux wrote:
>> Here is the function that generates the plots
>>
>> function status = helio2dummy(test)
>> NbrImageAnalyzed=1;
>> dist(1)=27;
>> NUM=200;
>> counti=[1:12];
>> count=[1:12];
>> dista(1:20)=dist(NbrImageAnalyzed)/10;
>> figure(1); subplot(2,1,1);
>> plot(0:11,count');
>> xlabel('Distance from origin (cm)');
>> ylabel('Missing dots');
>> title('Missing dots per cm');
>> axis ([0 10]);
>> xl=floor(dist(NbrImageAnalyzed));
>> xxl=(1:xl)/10;
>> yyl(1:xl)=20;
>> subplot(2,1,2);
>> if NUM<500;
>> plot(0:11,counti,dista,1:20,"r",xxl,yyl,"r");
>> else
>> plot(0:11,counti');
>> end;
>> axis ([0 10]);
>> xlabel('Distance from origin (cm)');
>> ylabel('Cumulated missing dots');
>> title('Missing dots per cm (cumulated)');
>> T1=strcat('test','missdots.jpg');
>> print((1),T1,'-djpg');
>> close all;
>> endfunction
>>
>> I just put it in a loop with cnt=100 and the problem should appear
>> before 100.
>>
>> function status= testloop(cnt)
>> for i = 1:cnt;
>> helio2dummy(1);
>> end
>> endfunction
>>
>> On my laptop (slower) it usually executes without failure. On the
>> lab machine (faster), it will fail at some point.
>>
>> Hope this helps point in the direction of the problem.
>> Take Care
>> Ian
>
>> I don't encounter an error. Do you get an error, or is the plot not
> rendered correctly?
>
> I don't get an error. Octave just hangs. I forgot to indicate the
> platform
> (WinXP) that I am using. Sorry as that is most likely an important
> consideration.
>Ok. I'm running MacOS. So I won't be able to help.
>Ben
I can appreciate that this is a difficult one to help with. Some users have
gone back to older versions of Octave .
I am wondering if anyone would have any guidance on how to go about
troubleshooting this problem? I am guessing that it is due to a timing
problem between Octave and GnuPlot.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: Problem with Pilot in 3.2.4,
Ian Journeaux <=