Re: Simplify complex graph from matplotlib

2020-10-02 Thread Murat Yildizoglu
You can make them as dense as you want and then resize on the page in Lyx, then they will have a very good printing quality. When I have too many points some PS printers cannot even print them because they need too much memory. This is why I have chosen this method. -- Prof. Murat

Re: Simplify complex graph from matplotlib

2020-10-02 Thread Neal Becker
True, bitmap formats may take less memory, but I don't usually want them for publication quality documents. For now I just re-ran the matplotlib plots decimating the points. On Thu, Oct 1, 2020 at 8:40 PM Murat Yildizoglu wrote: > Hello Neal, I flatten such graphics by converting them to PNG.

Re: Simplify complex graph from matplotlib

2020-10-01 Thread Murat Yildizoglu
Hello Neal, I flatten such graphics by converting them to PNG. They take less memory as such. -- Prof. Murat Yildizoglu Advisor to the Minister of Education, Youth and Sports of Cambodia Expertise France On leave from: UNIVERSITE DE BORDEAUX GREThA (UMR CNRS 5113) web: www.yildizoglu.fr >

RE: Simplify complex graph from matplotlib

2020-10-01 Thread Bernt Lie
file. In the end, I saved the file as a *.png file, which took some 150-200 kB. Not as pretty, but close enough. -B From: lyx-users On Behalf Of Neal Becker Sent: Thursday, October 1, 2020 21:46 To: LyX Users List Subject: Simplify complex graph from matplotlib Don't know if this is more

Simplify complex graph from matplotlib

2020-10-01 Thread Neal Becker
Don't know if this is more appropriate for lyx or mpl. I have a couple of graphs with a large number of points. They were exported from matplotlib as pdf, and produced large files. After including in lyx, the resulting pdf takes a long time to load. The plots don't really need so many points