Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15339
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: parametric plot and filling |
| Date | 2013-08-22 04:47 +0000 |
| Message-ID | <kv455t$4ke$1@smc.vnet.net> (permalink) |
| References | <20130820113651.16A216A17@smc.vnet.net> |
| Organization | Time-Warner Telecom |
I also noticed that Solve does not need the Thread. This also works:
Plot[Evaluate[y /. {
Solve[{x, y} == {2 t, -t^2}, {y, t}],
Solve[{x, y} == {6 + 2 t, -t^2}, {y, t}]}],
{x, -4, 10},
Axes -> {True, False},
Ticks -> None,
PlotStyle ->
{{Thick, Cyan}, {Thick, Green}},
PlotRange -> {-4, 0},
AspectRatio -> 0.285714,
Filling -> -4]
Bob Hanlon
On Wed, Aug 21, 2013 at 1:58 AM, Bob Hanlon <hanlonr357@gmail.com> wrote:
>
> I would try to convert it to a standard plot.
>
>
> ParametricPlot[
> {{2 t, -t^2}, {6 + 2 t, -t^2}},
> {t, -2, 2},
> Axes -> {True, False},
> Ticks -> None,
> PlotStyle -> {{Thick, Cyan}, {Thick, Green}}]
>
>
> Plot[
> Evaluate[y /. {
> Solve[Thread[
> {x, y} == {2 t, -t^2}], {y, t}],
> Solve[Thread[
> {x, y} == {6 + 2 t, -t^2}], {y, t}]}],
> {x, -4, 10},
> Axes -> {True, False},
> Ticks -> None,
> PlotStyle -> {{Thick, Cyan}, {Thick, Green}},
> PlotRange -> {-4, 0},
> AspectRatio -> 0.285714,
> Filling -> -4]
>
>
>
> Bob Hanlon
>
>
>
>
> On Tue, Aug 20, 2013 at 7:36 AM, Francisco Gutierrez <
> fgutiers2002@yahoo.com
> > wrote:
>
> >
> > Dear group:
> >
> > DoesParametricPlot admit the Filling option? Seems it not? How then to
> > perform it?
> > Lokk at the following simple example:
> >
> > ParametricPlot[{{2 t,-t^2},{6+ 2 t,-t^2}}, {t,-2,2},Axes->{True,False},
> > Ticks->None, PlotStyle->{{Thick,Cyan},{Thick,Green}}]
> >
> >
> >
> > The if I introduce the Filling command inside PlotStyle nothing happens,
> > and outside it produces an error. Any ideas?
> > francisco
> >
>
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: parametric plot and filling Bob Hanlon <hanlonr357@gmail.com> - 2013-08-22 04:47 +0000
csiph-web