I am trying to plot a joined plot. Some possible ways would be ListPlot
with Joined -> True
or ListLinePlot
.
However, my data contains a big jump(a plot of order parameter describing a first order transition) and I want to erase a long vertical line which connects the first points before and after the jump.
To be specific, consider the following data
a = { {0,0}, {1,0}, {2,0}, {3,5}, {4,6}, {5,7} };
Then, we can observe that there is the largest jump between the data {2,0}
and {3,5}
and
I want to erase the line between those points leaving other lines.
What is the most elegant way to achieve it?
Null
(or anything that's not a real number) where you want a gap.ListLinePlot[{{0, 0}, {1, 0}, {2, 0}, Null, {3, 5}, {4, 6}, {5, 7}}]
$\endgroup$