MathGroup Archive 2010

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

Search the Archive

GeometricTransformation causes dislocated Arrowheads in Graphics3D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109722] GeometricTransformation causes dislocated Arrowheads in Graphics3D
  • From: Tibor <tibornyers at gmail.com>
  • Date: Thu, 13 May 2010 07:26:05 -0400 (EDT)

Hi,
I would like to export some pictures from Mathematica into vector
graphics format. I use Graphics3D container and
GeometricTransformation command to locate my arrows in 3D space. When
exporting this into eps or PDF file format the arrowheads get messed
up in the result file. However, using png everything seems fine. But
unfortunately I need this in vector format.
The other interesting thing: using Opacity command in the same
Graphics3D container results in the same effect but now inside
Mathematica. Wired!

Sample code demonstrating the problem:
Graphics3D[{Arrow[{{0, 0, 0}, {1, 0, 0}}],
  Arrow[{{0, 0, 0}, {0, 1, 0}}], Blue, Arrow[{{0, 0, 0}, {0, 0, 1}}],
  Pink, Arrow[{{-1, 1, 0}, {1, 1, 0}}],
  GeometricTransformation[{Opacity[0.2], Black,
    Arrow[{{0, 0, 0}, {1, 0, 1}}]},
   TranslationTransform[{1, 1, 1}].RotationTransform[\[Pi], {0, 0,
      1}]]}, Boxed -> False]

Export["pic.PDF", %]

I use Mathematica v7.0.0 - 32bit

Thx in advance!

Tibor


  • Prev by Date: Re: Scroll content inside InputField?
  • Next by Date: Re: How to write reports and books in Mathematica
  • Previous by thread: Re: innerApply[{f, g}, {{a, b}, {c, d}}] = {f[a, b], g[c, d]} ?
  • Next by thread: Problem with Nminimize