Re: a simple question about contour3D
- To: mathgroup at smc.vnet.net
- Subject: [mg81059] Re: a simple question about contour3D
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sun, 9 Sep 2007 06:20:38 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <fbtk98$86d$1@smc.vnet.net>
ex902 wrote:
> this is my first question, I am so new in mathematica...
> So here is the question:
> say, I have three variables...
>
> CRF=0.131474
> h=5110
> and
> PEC=1000000
>
> and the equation is:
> CA=CRF*PEC/h
>
> I want to plot CA according to the changes in 'h' and 'PEC'... how can I do this ?
You can write directly the expression in the plotting commands
themselves. Use *Plot* for 2D graphs (lines) and Plot3D for 3d graphs
(surfaces). Here is an example,
CRF = 0.131474;
PEC = 1000000;
Plot[CRF*PEC/h, {h, 4000, 6000}]
Plot3D[CRF*PEC/h, {h, 4000, 6000}, {PEC, 500000, 1500000}]
--
Jean-Marc