Hi all,<br><br>I&#39;m trying to use pstricks to plot some functions with pstricks in LaTex. And now some problems have occurred to me.<br><br>Here&#39;s a piecewise function or subfunction f(x):<br>        f(x) = 1   while x &lt;= 0 <br>
        f(x) = 0   while x &gt;  0<br>and I tried to use pst-plot : \psline[linecolor=red](-3,1)(0,1)<br>                                     \psline[linecolor=red](0,0)(4,0)<br>but I donnot know how to make the coordinate (0,0) to be a hollow dot, while (0,1) is a solid dot.<br>
<br>And another problem is that I also tried the IfTE : \psplot{-3}{4}{ ifTE(x&gt;0,0,1) }, but pstricks tried to connect the line y=0 and the line y=1 to be a continuous line.<br><br>Can anyone tell me how to fix the problem, thanks very much.<br>
<br>A newfish to LaTex and PSTricks.<br clear="all"><br>-- <br>Stay hungry,  stay foolish !<br>