MathGroup Archive 2007

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

Search the Archive

Re: graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75935] Re: graphics
  • From: dimitris <dimmechan at yahoo.com>
  • Date: Sun, 13 May 2007 05:58:43 -0400 (EDT)
  • References: <f23p7m$nfn$1@smc.vnet.net>

I thought one solution but the questions of previous post still
remains

In[9]:=
halfspa = Block[{$DisplayFunction = Identity},
ParametricPlot[13*{Cos[u], Sin[u]}, {u, Pi, 2*Pi}, PlotStyle ->
Thickness[0.008],
     PlotPoints -> 100]];
halfspagr = halfspa /. Line[x_] :> {GrayLevel[0.95], Polygon[x]};

In[13]:=
Show[{halfspagr, halfspa}, Axes -> None]

Thanks
Dimitris

=CF/=C7 dimitris =DD=E3=F1=E1=F8=E5:
> Hello.
>
> I have
>
> In[254]:=
> surf = Block[{$DisplayFunction = Identity}, ParametricPlot[{5*Cos[u],
> Sin[u]}, {u, 0, 2*Pi}, Axes -> None,
>      PlotStyle -> Thickness[0.02], PlotPoints -> 100]];
> halfspa = Graphics[{Thickness[0.01], Circle[{0, 0}, 5, {Pi, 2*Pi}]}];
>
> Then
>
> In[242]:=
> gr1 = surf /. Line[x_] :> {GrayLevel[0.9], Polygon[x]};
>
> In[256]:=
> Show[surf, gr1];
>
> and the ellipse surf is filled with gray color how I want.
>
> Next
>
> In[258]:=
> gr2 = halfspa /. Line[x_] :> {GrayLevel[0.9], Polygon[x]};
>
> In[259]:=
> Show[halfspa, gr2];
>
> The half circle is not filled with gray color.
> Why?
> Can somebody point me out a workaround?
>
> Thanks
>
> Dimitris



  • Prev by Date: Re: Re: v. 6, third argument to rectangle
  • Next by Date: Re: drawing with mathematica
  • Previous by thread: Re: graphics
  • Next by thread: Re: graphics