scorpion007

54 Reputation

4 Badges

13 years, 34 days

MaplePrimes Activity


These are replies submitted by scorpion007

But that's not the same as what RegionFunction does -- namely restrict the plot output of any function to some region. E.g. You can have some function f(x)=x^2, and restrict it to some region, say, 0 <=x^2+y^2 <= 3.

But that's not the same as what RegionFunction does -- namely restrict the plot output of any function to some region. E.g. You can have some function f(x)=x^2, and restrict it to some region, say, 0 <=x^2+y^2 <= 3.

Thanks, so what you're basically doing is defining a procedure only on part of the domain.
 

I'm trying to do this for a 2D plot, so something like the following:

 

a:=[seq(x-i,i=-3..3,.25)]; (* sequence of linear functions *)

f:=x->x^2; (* this is some function *)

pf:=proc(x,y) if y >= 0 and y <= f(x) then a end if end proc;

 

... but then what? So I'm trying to clip the sequence of linear functions to the quadratic function f(x) between 0 <= y <= f(x).

Thanks, so what you're basically doing is defining a procedure only on part of the domain.
 

I'm trying to do this for a 2D plot, so something like the following:

 

a:=[seq(x-i,i=-3..3,.25)]; (* sequence of linear functions *)

f:=x->x^2; (* this is some function *)

pf:=proc(x,y) if y >= 0 and y <= f(x) then a end if end proc;

 

... but then what? So I'm trying to clip the sequence of linear functions to the quadratic function f(x) between 0 <= y <= f(x).

I agree entirely -- you get my vote.

Indeed, look at this image to see the huge difference in Classic versus Standard font rendering. Notice how unreadable the standard Java version is, both with and without antialiasing.

Page 1 of 1