<div dir="ltr"><div dir="ltr">Neal,<div><br></div><div>Do you have line simplification turned on in your rcParams?<br><a href="https://matplotlib.org/3.3.2/tutorials/introductory/usage.html#line-segment-simplification">https://matplotlib.org/3.3.2/tutorials/introductory/usage.html#line-segment-simplification</a><br></div><div>-paul</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 2, 2020 at 6:22 AM Neal Becker <<a href="mailto:ndbecker2@gmail.com">ndbecker2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I produced a line plot as:<div>ax.plot (x, y, '.')</div><div>and saved as pdf.</div><div><br></div><div>Both x and y were large vectors, resulting in a large pdf, and when incorporated into a LaTeX document, the resulting pdf takes a long time to open.</div><div><br></div><div>Other than my manually decimating the vectors:</div><div>ax.plot (x[::100], y[::100], '.')</div><div><br></div><div>Is there some way within mpl to simplify plots?  Or perhaps post-processing the pdf?</div><div><br></div><div>Thanks,</div><div>Neal</div><div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><i>Those who don't understand recursion are doomed to repeat it</i></div></div></div></div>
_______________________________________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-users</a><br>
</blockquote></div>