5
$\begingroup$

I can get a Region from a Graphics like this:

Graphics

But how can I transform the graphics in a Plot or a ParametricPlot into a Region?

ParametricPlot[{Sin[u], Sin[2 u]}, {u, 0, 2 Pi}]

enter image description here

Plot[Sin[x], {x, 0, 6 Pi}]

enter image description here

$\endgroup$

1 Answer 1

7
$\begingroup$

Use ParametricRegion instead of Plot/ParametricPlot to obtain an exact region. Alternatively use DiscretizeGraphics on the output of Plot/ParametricPlot to approximate it as a region.

$\endgroup$
1
  • $\begingroup$ Oh~Thinks a lot. $\endgroup$
    – yode
    Jan 18, 2016 at 8:50

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.