RE: hatching of the area between two curves?
- To: mathgroup at smc.vnet.net
- Subject: [mg69064] RE: [mg69042] hatching of the area between two curves?
- From: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>
- Date: Tue, 29 Aug 2006 03:25:58 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
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
florian.jaccard at he-arc.ch
-----Message d'origine-----
De : Hilde Mancal [mailto:mancal.hinwil at bluewin.ch]
Envoyé : lundi, 28. août 2006 08:55
À : mathgroup at smc.vnet.net
Objet : [mg69042] 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