Implement the plotting of curves defined via an implicit function. Borrow the code from kmplot for this maybe.