I have chart in which the y axis ticks should always be fixed in size e.g 1 cm per unit.
but the x axis should have 1 to1 ratio with y axis at some points and 2 to 1 ratio at other points based on some value .
lines will be drawn across points of different x axis scales.
the graph will have 2 million points of which only few according to size of screen ,will be shown based on fixing y unit to 1 cm and x unit either 1 or 2 cm.

can this be done?
where could I start?
I made plot but stretching and shrinking x axis at some points is difficult for me