Practically any implicit function can be plotted:
Plotting sections of a graph differently can be accomplished by using array masking: