How to use Wolfram to draw Cantor function?

103 Views Asked by At

I want to have a close look on the image of $\frac{1}{2x} + \frac{1}{2}$ Cantor function, which is a rigidly increasing one.
I look up in the Wolfram and it told me it has a symbol called CantorStaircase to draw the image of Cantor function, but when I calculate it, it just don't work. What should I do? What's the problem? http://reference.wolfram.com/language/ref/CantorStaircase.html

enter image description here