From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: what kind of plot ?
Date: Mon, 16 May 2011 20:43:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <iqs28n$7ig$>
References: <iqjknp$l58$> <> <> <iqmo3m$f1j$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1305578583 7760 (16 May 2011 20:43:03 GMT)
NNTP-Posting-Date: Mon, 16 May 2011 20:43:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:727117

"Fero " <> wrote in message <iqmo3m$f1j$>...
> sigma(a,b)=(-2*P/(pi*t))*((x^2)*(R-y)/(beta1^2)+(x^2)*(R+y)/(beta2^2)-1/(2*R));
- - - - - - - - - -
  Fero, according to the code you used in the seventh article in this thread, if x is held at a constant zero value while y ranges between -R and +R, the value of sigma should remain precisely constant at P/(pi*t*R) (except for singularities right at the endpoints.)  However, this does not seem to be in accord with the color diagram I downloaded from

which shows the color along the central vertical diameter changing at its upper and lower ends from blue to yellow to red - in other words through the full range of colors.  Are you sure your formula is correct?

  Or perhaps that central diameter in the diagram was obtained with values off to either side of an exact zero value for x.  In your case your central x value should be right at zero, so the central color should remain fixed down in the blue, shouldn't it?

Roger Stafford