Thank you Sphin! I think I got it: I just need to take the return of the indicator function as the parameter for the plot function!