Message Boards Message Boards

GROUPS:

Region displays with corners cut off

Posted 1 month ago
347 Views
|
2 Replies
|
0 Total Likes
|

Does anyone understand this? The region is correctly defined as the first unit square, but it is displayed with the corners cut off:

Block[{reg}, Column[{
   reg = Region[ImplicitRegion[0 <= x <= 1 && 0 <= y <= 1, {x, y}]], 
   Element[{1, 1}, reg]
   }]]

enter image description here

If you draw the region with RegionPlot, everything is fine:

RegionPlot[0 <= x <= 1 && 0 <= y <= 1, {x, 0, 1}, {y, 0, 1}, 
 ImageSize -> Small]

enter image description here

2 Replies

It seems that Region makes a rough plot to display quickly.

Posted 1 month ago

I don't think so. Actively cutting the corners would be even more complicated than showing the region as is.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract