This question is related to this one. I want to display the RegionUnion of a large set of smaller polygons. If simply use Region or RegionPlot, the exported PDF becomes huge because each polygon is rendered individually.

The method in the answer of the linked question helps, but for some reason BoundaryDiscretizeRegion fails in some cases. For example, for this data set, the kernel is at 100% for a while and nothing seems to happen if I use

BoundaryDiscretizeRegion[RegionUnion @@ data]

I tried rescaling the data, but in this case the function BoundaryDiscretizeRegion doesn't do anything at all:

data[[All, 1, All, 2]] = Rescale[data[[All, 1, All, 2]]];
BoundaryDiscretizeRegion[RegionUnion @@ data]

Any ideas on how to make BoundaryDiscretizeRegion work for such a case? Or another good way to display the region boundary?

  • 1
    $\begingroup$ I can't even get the first polygon to discretize DiscretizeRegion@First@data takes too long for my patience. $\endgroup$ – Jason B. Jun 8 '17 at 14:48

Your Answer

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

Browse other questions tagged or ask your own question.