Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #7242
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Overlaid parametric plots are too faint |
| Date | 2011-12-15 10:06 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jccgr7$mlh$1@smc.vnet.net> (permalink) |
| References | <201112141100.GAA10153@smc.vnet.net> |
The plot looks washed out because by default, ParametricPlot plots
graphs with an opacity of about .2. Try setting PlotStyle->{Opacity[1],
Hue[=85.]}. The reason the first graph is brightly coloured is because
you're plotting 12 copies of the same (semi-tranparent) sector on top of
each other.
By the way, you could also use Disk to plot the sectors, e.g.
Graphics[Table[{Hue[k/12, 1, 1],
Disk[{0, 0}, 1, k 30 Degree + {-15 Degree, 15 Degree}]}, {k, 0,
11}], Frame -> True]
Heike
On 14 Dec 2011, at 12:00, Chris Young wrote:
> I'm trying to get a fast, sharp plot of a disk divided into color
> sectors, to be used to illustrate complex mappings. Based on some
> experimenting, it seems to me that doing lots of parametric plots is
> sharper and faster than using mesh functions and color functions. The
> only problem is, each time the whole disk seems to get overlaid onto
> the plots that are already there, causing the sectors to get very faint.
>
> Here's a brightly colored single sector:
>
> Show[
> Table[
> ParametricPlot[
> {
> Through[{Re, Im}[u Exp[(- 15 =B0 + 30 =B0 v ) I]]]
> },
> {u, 0, 1}, {v, 0, 1},
>
> Mesh -> None,
> BoundaryStyle -> None,
> PlotStyle -> Red
> ],
> {k, 0, 11}
> ],
> PlotRange -> 1.1
> ]
>
>
> And here's how they fade out when they're overlaid:
>
> Show[
> Table[
> ParametricPlot[
> {
> Through[{Re, Im}[u Exp[(- 15 \[Degree] + (k + v) 30 \[Degree]) I]]]
> },
> {u, 0, 1}, {v, 0, 1},
>
> Mesh -> None,
> MeshStyle -> None,
> BoundaryStyle -> None,
> MeshShading -> None,
> PlotStyle -> Hue[k/12, 1, 1]
> ],
> {k, 0, 11}
> ],
> PlotRange -> 1.1
> ]
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Overlaid parametric plots are too faint Heike Gramberg <heike.gramberg@gmail.com> - 2011-12-15 10:06 +0000
csiph-web