Linked Questions

10
votes
1answer
1k views

Is there any way to reveal a removable singularity in a plot? [duplicate]

Let's say we have a function $f(x)=\dfrac{2^x-2}{x-1}$. The graph of the function in Mathematica looks like this: The function in question is obviously not continuous at $x=1$, but that doesn't show ...
2
votes
1answer
986 views

Plotting Open and Closed Dots for Endpoints [duplicate]

In traditional textbooks you'll see open and closed dots to indicate whether to include or exclude the point respectively. How can I modify this code to include open and closed dots at x=2? I don't ...
1
vote
1answer
458 views

How to draw dots at beginning and end of range when plotting [duplicate]

I'm trying to plot a Piecewise function which should look like this: How can I have similiar dots (filled or empty) at beginning and end of range? ...
1
vote
1answer
348 views

Plot discontinuous function $\frac{2-x}{|x-2|}(x + 2)$ [duplicate]

I'd like to ask you about the way to plot discontinuous function $\frac{2-x}{|x-2|}(x + 2)$. What Wolfram Alpha produces: "DIY" version is below. How to achieve similar effect in Mathematica?
0
votes
1answer
383 views

set colours for different parts of a piecewise function's graph [duplicate]

I would like to create a graph of the piecewise function $f(x) = \begin{cases} x + 2, & x < -1 \\ x^2, & -1 \leq x \leq 2 \\ 3, & x > 2\end{cases}$ where the changes in the ...
1
vote
1answer
126 views

Missing point while plotting [duplicate]

I though I will get a point at f(2)=6, anyone please help me I am new on programming, Thanks
0
votes
0answers
52 views

How to plot a step function with close and open ends for each domain without plotpiecewise? [duplicate]

I want to show a continuous time Markov chain and I want to plot something like below:
16
votes
4answers
9k views

Graphics plot of point using unfilled circle

I'd like to be able to place points on a plot using Graphics[{Point[{a,b}],....}] but have the plot symbol be an unfilled circle. I've looked around but can't find ...
14
votes
2answers
1k views

Replicating a discontinuous graph

I'm trying to replicate a graph from my math book for my notes as well as to learn Mathematica. I was hoping someone would be able to help me figure out how to add the open points to the graph, and ...
15
votes
2answers
3k views

Plot showing discontinuity where it shouldn't

I was trying to integrate a continuous function with a kink and I did it two ways and both ways the plot of the result shows a discontinuity. I also later want to differentiate the Integrated function....
11
votes
4answers
664 views

How to eliminate the white gaps in the graph

Here is my code ...
4
votes
2answers
312 views

Showing a point on a plot as a circle rather than a disk

Consider the following code: ...
4
votes
2answers
1k views

A discontinuity in a plot of a continuous function

I plot a continuous, though not a smooth function: Plot[If[a >= 0.5, 0, Sqrt[0.5 - a]], {a, -1, 1}, PlotRange -> All] which returns the following One can ...
2
votes
1answer
899 views

Piecewise Function, Explanation of Extra Case

Consider: Can someone explain why the 0, True occurs? As a second question, I like to fill the endpoints as follows: ...
2
votes
3answers
809 views

How to label asymptotes in plot [closed]

I am trying to make the plot function to label the x-coordinate of the vertical asymptotes. I also want it red dashed. I tried this but obviously it is not correct: ...

15 30 50 per page