Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Hatched shading?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111214] Re: Hatched shading?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 23 Jul 2010 07:15:34 -0400 (EDT)

The thickness has nothing to do with it, as the behavior is readily 
reproducible without it. But using an option such as PlotPoints -> 100 
seems to avoid the behavior.

On 7/21/2010 7:10 AM, Alexey Popkov wrote:
> Hello,
>
> I confirm this behavior on Windows XP SP3 with Mathematica 7.0.1. All the
> red lines get out of the region defined by RegionFunction.
>
>
> "ADL"<alberto.dilullo at tiscali.it>   news:i23k1u$eqc$1 at smc.vnet.net...
>> Following what Bob brilliantly suggested, I found a possible bug in
>> Mathematica 7.0.1 for Windows.
>> If you type the following, you will get a couple of red lines getting
>> out of their boundary:
>>
>> f[x_] := Sin[x];
>>
>> Plot[
>> {Table[(x - k)/3, {k, -3, 3, .10}],    f[3x]},
>> {x, 0, 3},
>> PlotRange ->  {0, 1},
>> RegionFunction ->   Function[{x, y}, 0<  y<= f[3x]],
>> PlotStyle ->  {
>>    Directive[ AbsoluteThickness[4], Red],
>>    Directive[ Thick,  Blue]
>> }
>> ]
>>
>> Does anybody else confirms this?
>>
>> ADL
>>
>>
>>
>> On 18 Lug, 07:06, Bob Hanlon<hanl... at cox.net>  wrote:
>>> I forget to copy the definition of f[x] that I was using as an example
>>>
>>> f[x_] = Exp[-x]
>>>
>>> Bob Hanlon
>>
>
>
>

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Hatched shading?
  • Next by Date: Re: Hatched shading?
  • Previous by thread: Re: Hatched shading?
  • Next by thread: Re: Hatched shading?