I have to translate an image plotting script from matlab to matplotlib/pylab, and I\'m trying to achieve the same effect as the matlab image below:
To get the marker to show beyond the axes you can turn the clipping off. This can be done using the keyword argument in the plot command clip_on=False.
plot
clip_on=False
For example:
import matplotlib.pyplot as plt plt.plot(range(5), range(5), 'ro', markersize=20, clip_on=False, zorder=100) plt.show()