Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to restrict to domain of ContourPlot Plot3D?' topicStudent Support Forum > General > Archives > "How to restrict to domain of ContourPlot Plot3D?"

Next Comment >Help | Reply To Topic
Author Comment/Response
Lenka
09/30/05 04:43am

Hi.. I have two difficulties. (I use Mathematica v. 5.2 in Windows XP home )

First, I use

ContourPlot[x*y {x,-1,1},{y,-1,1}]

to plot the contour levels of z=xy. But, I want to consider ONLY the DOMAIN where x>y and x<1/2 and y<1/2. How may I restrict the domain to see the contour plot but only when is true x>y and x<1/2 and y<1/2 and not more?.

I used Boole[] but this gives the value 0 .. and I want "empty" and not value zero. How may I do that?


Second, I want to the see the ContourPlot in 3 dimensions of f = x*y*z .. How could I visualize the case where (x>y && y>z).
When I include this condition in ContourPlot3D I cannot see anything. Of course.. it maybe the problem of domain of the levels (1/10, 1/100} that I was to visualize.


I attach a nb file where I was trying to solve the two problems. Any help is very welcomed.

Lea



Attachment: QuestionforForumWolfram.nb, URL: ,

Subject (listing for 'How to restrict to domain of ContourPlot Plot3D?')
Author Date Posted
How to restrict to domain of ContourPlot Plot3D? Lenka 09/30/05 04:43am
Re: How to restrict to domain of ContourPlot Pl... yehuda ben-s... 10/01/05 11:27pm
Re: How to restrict to domain of ContourPlot Pl... Lenka 10/05/05 3:13pm
Next Comment >Help | Reply To Topic