I am trying to figure out how zooming should be implemented in a plplot driver. Looking through the available functions I thought the diplz() and diplt() functions should do the job together with the replot() function following them. However, looking through the code it seems that when replaying the plot buffer, also the "old" diplt() function calls are replayed, resulting in a plot that is not changed (the effect of the diplz() and diplt() functions is effectively canceled).

Is this correct or am I overseeing some things?
Does anyone know how zooming should otherwise be implemented (preferably with making use of the plot buffer)? Any suggestions are highly appreciated.

Kind regards,

Sjaak Verdoold