4
$\begingroup$

I tried applying a transformation to a rectangle:

RegionPlot[TransformedRegion[Rectangle[{0, 0}, {1, 1}], {#1^(1/3) + #2, 1 + #2} &]]

giving

enter image description here

In reality, it ought to be giving a parallelogram-shaped region, based on simply transforming a bunch of points:

Table[{#1^(1/3) + #2, 1 + #2} &[k, j], {k, 0, 1, 0.02}, {j, 0, 1, 
   0.02}] // ListPlot

enter image description here

Any idea what's going wrong here? Am I using TransformedRegion wrong?

$\endgroup$

1 Answer 1

7
$\begingroup$

Looks to me to be a bug in RegionPlot. I say fhis beccause

DiscretizeRegion @ TransformedRegion[Rectangle[{0, 0}, {1, 1}], {#1^(1/3) + #2, 1 + #2} &]

gives

region

as expected.

$\endgroup$
1
  • 1
    $\begingroup$ I filed a bug report at tech support. $\endgroup$ Commented Oct 3, 2014 at 0:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.