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$
6
$\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
    $\begingroup$ I filed a bug report at tech support. $\endgroup$ – DumpsterDoofus Oct 3 '14 at 0:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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