Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: parametric plot and filling

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131538] Re: parametric plot and filling
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Thu, 22 Aug 2013 00:51:43 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130820113651.16A216A17@smc.vnet.net>

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 at 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 at 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
> >
>
>
>




  • Prev by Date: Re: parametric plot and filling
  • Next by Date: Re: Rotate Dateticks in DateListPlot
  • Previous by thread: Re: parametric plot and filling
  • Next by thread: Re: parametric plot and filling