We specified two styles using ExclusionsStyle: the first style is applied to the excluded region, while the second style is applied to its boundary. The exclusions options work with many other Mathematica functions, such as Plot3D: (You can use Exclusions → None to disable this.) Instead of excluding the points, you can specify a style to apply to them:įor explicitly piecewise functions like Floor, points are excluded automatically: You can use the Exclusions option to exclude points from the plot: The short answer is, use the options Exclusions and ExclusionsStyle! Let’s see how they work.īy default, Plot shows the function 1 ⁄ sin( x) with lines joining its discontinuities: How can I control the appearance of discontinuities in a plot? You can submit your question directly to the Q&A Team.įor our first post in this new series of Mathematica Q&A articles, we’re going to address a very frequently asked question about plotting in Mathematica. Got questions about Mathematica? The Wolfram Blog has answers! Each week, we’ll answer a selected question from users around the web.
0 Comments
Leave a Reply. |