MathGroup Archive 2005

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

Search the Archive

Re: Re: 3D Plots: Specifying GridLine spacing for FaceGrids

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55520] Re: Re: [mg55497] 3D Plots: Specifying GridLine spacing for FaceGrids
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 27 Mar 2005 02:43:07 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

A slightly more compact form:

ParametricPlot3D[
    {Sin[t], Sin[2t] Sin[u], Sin[2t] Cos[u]},
    {t, -Pi/2, Pi/2}, {u, 0, 2Pi}, 
    FaceGrids -> Flatten[{
              {{0, #, 0}, {xg, zg}},
              {{#, 0, 0}, {yg, zg}},
              {{0, 0, #}, {xg, yg}}
              } & /@ {-1, 1}, 1], Ticks -> None];


Bob Hanlon

> 
> From: Bob Hanlon <hanlonr at cox.net>
To: mathgroup at smc.vnet.net
> Date: 2005/03/26 Sat PM 03:06:32 EST
> Subject: [mg55520] Re: [mg55497] 3D Plots:   Specifying GridLine spacing for 
FaceGrids
> 
> Needs["Graphics`"];
> 
> ParametricPlot3D[
>     {Sin[t],Sin[2t] Sin[u],Sin[2t] Cos[u]},
>     {t,-Pi/2,Pi/2},{u,0,2Pi}, 
>     FaceGrids->All];
> 
> {xg,yg,zg}={Table[{x,Blue},{x,-1,1,1}],
>       Table[{y,Green},{y,-1,1,1}],
>       Table[{z,Red},{z,-1,1,1}]};
> 
> ParametricPlot3D[
>     {Sin[t],Sin[2t] Sin[u],Sin[2t] Cos[u]},
>     {t,-Pi/2,Pi/2},{u,0,2Pi}, 
>     FaceGrids->{
>         {{0,-1,0},{xg,zg}},
>         {{0,1,0},{xg,zg}},
>         {{-1,0,0},{yg,zg}},
>         {{1,0,0},{yg,zg}},
>         {{0,0,-1},{xg,yg}},
>         {{0,0,1},{xg,yg}}
>         },Ticks->None];
> 
> 
> Bob Hanlon
> 
> > 
> > From: "Blimbaum, Jerry AA R22" <jerry.blimbaum at navy.mil>
To: mathgroup at smc.vnet.net
> > Date: 2005/03/26 Sat AM 02:39:28 EST
> > Subject: [mg55520] [mg55497] 3D Plots:   Specifying GridLine spacing for FaceGrids
> > 
> > 
> > How do I specify the GridLine spacing for each FaceGrid of a 3D plot?
> > I dont want just Automatic....
> > 
> > 
> > thanks.....jerry blimbaum
> > 
> 


  • Prev by Date: Re: Recursion question
  • Next by Date: Re: point in convex hull
  • Previous by thread: Re: Questions about Abs[_]
  • Next by thread: Simplifying ArcTan