Message Boards Message Boards

2
|
2802 Views
|
2 Replies
|
4 Total Likes
View groups...
Share
Share this post:

RegionFunction not working inside ComplexPlot?

I'm trying to use RegionFunction inside ComplexPlot and it's not working for me. Here's an example taken straight from the ComplexPlot documentation:

ComplexPlot[(z^2 + 1)/(z^2 - 1), {z, -2 - 2 I, 2 + 2 I}, RegionFunction -> Function[{z}, Abs[z] <= 2]]

Which is supposed to produce something like this:

How ComplexPlot and RegionFunction are supposed to work

But on my machine (Mathematica 13.0 on Apple Silicon), it actually produces this:

How ComplexPlot and RegionFunction actually work

What can I do to get RegionFunction and ComplexPlot to play nicely together?

2 Replies

Hi Clayton,
This is a known issue to us and our teams are working on it. Thank you for reporting it.

POSTED BY: Ahmed Elbanna
Posted 2 years ago

Looks like a regression in v13. Works fine on 12.3.1 for Mac OS X ARM (64-bit) (July 8, 2021), does not in 13.0.1 for Mac OS X ARM (64-bit) (January 28, 2022). You should report the issue to Wolfram Support.

POSTED BY: Rohit Namjoshi
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