## hatching of the area between two curves?

### hatching of the area between two curves?

Hi!

With input

<<Graphics `FilledPlot`
FilledPlot[{Sin[x],Cos[x],x^2/18},{x,0,2Pi}]

it is easily possible to COLOR the area between two curves. Is there too an
easy way to HATCH this area, or has this to be done with elaborate
programming?

Good advice very welcome :-) :
Hans Keller

### hatching of the area between two curves?

Hi,

no -- because Mathematica graphics base on PostScript
and PostScript can't hatch. The deeper reason is, that
hatching depend on the resolution of the final image
and the resolution of the output (printer, screen or both)
determine the density of the lines for hatching.

Regards
Jens

### hatching of the area between two curves?

Dear Hans,

I'm afraid I never seen this kind of options in Mathematica.
But I didn't discover everything yet...

If you just have to hatch between 2 curves, you can easily program it yourself:

Plot[{Sin[x], Cos[x]}, {x, 0, 2*Pi},
Epilog ->
{(Line[{{#1, Sin[#1]}, {#1, Cos[#1]}}] & ) /@
Range[0, 2*Pi, Pi/30]}];

Regard's

Florian Jaccard
XXXX@XXXXX.COM

-----Message d'origine-----
De Hilde Mancal [mailto: XXXX@XXXXX.COM ]
Envoy: lundi, 28. ao 2006 08:55
: XXXX@XXXXX.COM
Objet hatching of the area between two curves?

Hi!

With input
<<< FilledPlot[{Sin[x],Cos[x],x^2/18},{x,0,2Pi}]

it is easily possible to COLOR the area between two curves. Is there too an
easy way to HATCH this area, or has this to be done with elaborate
programming?

Good advice very welcome :-) :
Hans Keller