Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15339 > unrolled thread

Re: parametric plot and filling

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-08-22 04:47 +0000
Last post2013-08-22 04:47 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: parametric plot and filling Bob Hanlon <hanlonr357@gmail.com> - 2013-08-22 04:47 +0000

#15339 — Re: parametric plot and filling

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-08-22 04:47 +0000
SubjectRe: parametric plot and filling
Message-ID<kv455t$4ke$1@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@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
> >
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web