Message Boards Message Boards

0
|
2514 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Region displays with corners cut off

Posted 3 years ago

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

POSTED BY: Werner Geiger
2 Replies

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

POSTED BY: Gianluca Gorni
Posted 3 years ago

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

POSTED BY: Werner Geiger
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