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

MathGroup Archive 2001

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

Search the Archive

Re: 3d Graphics problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28959] Re: 3d Graphics problem
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 23 May 2001 01:54:27 -0400 (EDT)
  • References: <9e7ati$260@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Francisco,
It seems that he line is behind the polygon --
Try,
        ViewPoint-> ViewPoint -> -{1, 1.5, 2.5}].

To see through we can replace the polygon with
        Line[{{1, 0, 0}, {0, 1, 0}, {0, 0, 1},{1,0,0}}]


Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"FRANCISCO GUTIERREZ" <rpena at elsitio.net.co> wrote in message
news:9e7ati$260 at smc.vnet.net...
>
> Dear NG:
> I have the following problem.  I want to draw a 2D simplex in a 3D space,
> and within the simplex some points and lines.
>
> First I create the line:
> gg1 = Graphics3D[Line[{{0.4, 0.3, 0.2}, {0.7, 0.15, 0.15}}]]
> The the simplex:
> gg2 = Graphics3D[Polygon[{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}]]
> Then I visualize both:
> Show[{gg1, gg2}, ViewPoint -> {1, 1.5, 2.5}]
> The line isn't visible.  When I draw points, they are not visible either.
> If I give options to the line (thickness, or RGBColor) or to the points, I
> get an error message.
> How should I proceed?
> Thanks,
> Fg






  • Prev by Date: Inverse of 27x27 sparse matrix with 4 symbols
  • Next by Date: From Mathematica Notebook into Native Latex
  • Previous by thread: RE: 3d Graphics problem
  • Next by thread: mathematica 4.0, base forms