Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.5K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Why does my RegionFunction restriction not work with a boundary y=x-c?

Posted 11 years ago
2 Replies

In plotting functions Mathematica makes a determination of how much of the function to show according to some algorithm that determines where the interesting parts of the function are. To override this use the PlotRange option. In your case this will show the full graph:

Plot3D[{(c^2*Pi)/(x^2*Pi)}, {x, 1, 3}, {y, 0, c}, 
 RegionFunction -> Function[{x, y, z}, 0 <= y <= x - c], 
 PlotRange -> All]
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard