Обнаружение и удаление особых точек
Полюс при
автоматически определяется и удаляется при построении графика.
In[1]:=
![Click for copyable input](assets.ru/detect-and-remove-singular-points/In_57.png)
Plot[1/x, {x, -3, 3}, ImageSize -> 400, PlotTheme -> "Frame"]
Out[1]=
![](assets.ru/detect-and-remove-singular-points/O_43.png)
То же самое происходит для полюсов Tan[x].
In[2]:=
![Click for copyable input](assets.ru/detect-and-remove-singular-points/In_58.png)
Plot[Tan[x], {x, 0, 4 Pi}, ImageSize -> 400, PlotTheme -> "Frame"]
Out[2]=
![](assets.ru/detect-and-remove-singular-points/O_44.png)
Покажите асимптоты, соответствующие полюсам.
In[3]:=
![Click for copyable input](assets.ru/detect-and-remove-singular-points/In_59.png)
{Plot[1/x, {x, -3, 3}, PlotTheme -> "Frame", ImageSize -> 250,
ExclusionsStyle -> Directive[Gray, Dotted]],
Plot[Tan[x], {x, 0, 4 Pi}, PlotTheme -> "Frame", ImageSize -> 250,
ExclusionsStyle -> Directive[Gray, Dotted]]}
Out[3]=
![](assets.ru/detect-and-remove-singular-points/O_45.png)