first version of the ld plot. Zoom is not yet working