MathGroup Archive 2006

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

Search the Archive

General--IF condition in Plot3D

  • To: mathgroup at
  • Subject: [mg68972] General--IF condition in Plot3D
  • From: madhukarrapaka at
  • Date: Sat, 26 Aug 2006 02:03:54 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hi All,
How to use a IF condition in Plot3D??

For example:
I have "I" values caluclated by I=P/2*Pi*r*L .; where P=10.3,L=0.45,r=dist. 
So if i want to plot "I" when "r<x", how to do it??
(Here i am giving my procedure thru which i am getting a Plot with some warning)

Then i am getting following warnings:
1. Plot3D::"plnc" :
   If[(r[x, y]<=0.82),I[x, y] is neither a machine-size real number at {x,y}=(-0.058,-0.082) nor a list of a real number and a valid color directive.

2. General::"stop": Further output of Plot3D :: plnc will be suppressed during this calculation.

3. Plot3D::"gval": Function value (Null) at grid point xi = 1, yi = 1 is not a real number.

4. General::"stop": "Further output of Plot3D :: gval will be suppressed during this calculation."

Is there anything wrong in the syntax or range specification.
I am clueless. Please provide me ur valueable suggestions.

Thanks in advance.

Thanks in advance

Link to the forum page for this post:
Posted through [[postId=12975]]

  • Prev by Date: Re: Matrix Multiplication (with a twist)
  • Next by Date: Re: Symmetric polynomials
  • Previous by thread: RE:Beginner--How to resolve a simple system of equation
  • Next by thread: Re: General--IF condition in Plot3D