How can I draw a slope fields in CeTZ?

I would like to draw a slope field in CeTZ.
Something like this,

Is there a way to do this?
Thank you.

I don’t know if there is an easy way, but a quiver plot looks very close to this. quiver − Lilaq.

1 Like