MathGroup Archive 2009

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

Search the Archive

Re: Draw a 3D surface

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100686] Re: Draw a 3D surface
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Thu, 11 Jun 2009 07:07:25 -0400 (EDT)

I intend to draw a 3D surface, which is defined in a tricky way. Given
function f(x, y), the values of f are known but the range is
determined by a function of y, g(y). I need to plot x as a function of
y and f within the range determined by g(y). Can anybody help?
Appreciate!

Jun Lin

Hi, Jun,
I do not really understand, what do you mean with range determined with g(y). You should probably explain it in more details.

Concerning the first part of your question, here is the most simple answer: draw the f=f(x,y)surface using say, Plot3D,
and then rotate the graph with the mouse such that the Ox axis is directed upwards. ?? Or rotate it programmatically using
Rotate function.

If you need it upwards at once (this may be useful for example, if you need to programmatically include some other 
graphics together with this plot), the following may help:

ParametricPlot3D[{y, Sin[x*y], x}, {x, -1, 1}, {y, -1, 1}, AxesLabel -> {"y", "f", "x"}]

I took here the function f=sin(xy) to be concrete.

Have success, Alexei

-- 
Alexei Boulbitch, Dr., habil.
Senior Scientist

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg

Phone: +352 2454 2566
Fax:   +352 2454 3566

Website: www.iee.lu

This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.




  • Prev by Date: Re: differentiation operator
  • Next by Date: Re: Re: What should be a simple task....
  • Previous by thread: Re: Re: Draw a 3D surface
  • Next by thread: Presentation quick with grid and pasted graphic