MathGroup Archive 2007

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

Search the Archive

Graphics text showing through 3D plots

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80725] Graphics text showing through 3D plots
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Thu, 30 Aug 2007 02:33:25 -0400 (EDT)

Hello all.

Is there a way to render graphics text in a 3D plot so that it is hidden by surfaces in front of it?  For example, this plot shows an "x" in a plot of Sin[xy].  Now, when I rotate it, the x shows through the plot when the surface is covering it.

g1 = Plot3D[Sin[x*y], {x, -1, 1}, {y, -1, 1}]
text = Graphics3D[Text[StyleForm["-x", 
           FontSize -> 18, FontWeight -> 
             "Heavy"], {-0.5, -0.5, -0.5}]]; 
Show[{g1, text}]

Thanks,
Chuck


  • Prev by Date: Re: Block vs. ReplaceAll
  • Next by Date: Re: Questions on AstronomicalData
  • Previous by thread: Re: Localizaction of variables in Fit..
  • Next by thread: Special characters in the axis label?