Hey everybody, I am trying to create a simple plot with a dotted line. However, depending on the export format I use, I get random markers on the line. This effect appears for pdf but not for png. When I use eps and convert the eps file to pdf I also receive the random markers.
I use the following script to generate the plot. The resulting graph on my system is attached to this mail. #!/usr/bin/env python import numpy as np a = np.linspace(0.,10.,100) b = np.sqrt(a) import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) fig.add_subplot(ax) ax.plot(a, b, linestyle = ':', color = 'k', linewidth = 3) fig.savefig('broken.pdf') My system is: Linux 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux I am using matplotlib version '1.1.0'. Any help is greatly appreciated. Benjamin
broken.pdf
Description: Adobe PDF document
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users