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: [mg111060] Re: Hatched shading?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 18 Jul 2010 01:07:00 -0400 (EDT)

I forget to copy the definition of f[x] that I was using as an example

f[x_] = Exp[-x]


Bob Hanlon

---- Bob Hanlon <hanlonr at cox.net> wrote: 

=============

Plot[
 {Table[(x - k)/3, {k, -3, 3, .15}],
  f[x]},
 {x, 0, 3},
 PlotRange -> {0, 1},
 RegionFunction ->
  Function[{x, y}, 0 < y <= f[x]],
 PlotStyle -> {
   Directive[
    AbsoluteThickness[3],
    LightBlue],
   Directive[
    Thick,
    Blue]}]


Bob Hanlon

---- Alex <abudovski at gmail.com> wrote: 

=============
Is it possible to plot something like this in Mathematica?

http://img682.imageshack.us/img682/1638/hatched.png

How might I do the hatched shading, with customizable colors/thickness?



  • Prev by Date: Re: Generate #s
  • Next by Date: Re: Combine matrices of equal height
  • Previous by thread: Re: Hatched shading?
  • Next by thread: Re: Hatched shading?