Re: Graphic file formats

2021-12-09 Thread Rich Shepard via lyx-users
On Thu, 9 Dec 2021, Murat Yildizoglu wrote: I understand Rich. I tend to think that when outliers are important, boxplots are maybe not the best way to represent such a data. For example, they easily get difficult to interpret because of the compression imposed by them on the boxes, given the

Re: Graphic file formats

2021-12-09 Thread Murat Yildizoglu via lyx-users
I understand Rich. I tend to think that when outliers are important, boxplots are maybe not the best way to represent such a data. For example, they easily get difficult to interpret because of the compression imposed by them on the boxes, given the axes’ scales. -- Prof. Murat Yildizoglu

Re: Graphic file formats

2021-12-09 Thread Rich Shepard via lyx-users
On Thu, 9 Dec 2021, Murat Yildizoglu via lyx-users wrote: In Rich’s specific case, I suspect that the outliers of the boxplots crowd the plot. ggplot has an option for not plotting them, then you have just simple boxes left on the plot, and they do not need much memory, a few Ko only. Murat,

Re: Graphic file formats

2021-12-09 Thread Murat Yildizoglu via lyx-users
You can even save in PNG from R and choose the definition in dpi that you want and the size of the bitmap plot. You can make them quite big, they will never be as demanding as a vector image (as in a pdf export)  with thousands data points. In Rich’s specific case, I suspect that the outliers

Re: Graphic file formats

2021-12-09 Thread Rich Shepard via lyx-users
On Thu, 9 Dec 2021, Herbert Voss via lyx-users wrote: Here: https://hvoss.org/document2.pdf is a pdf with your image, the first one as pdf the second one as png: -rw-r--r--   1 voss  wheel   108688  9 Dez 14:49 all-discharge-plots-1.png -rw-r--r--@  1 voss  wheel  3704503  9 Dez 14:45

Re: Graphic file formats

2021-12-09 Thread Herbert Voss via lyx-users
Am 08.12.21 um 18:09 schrieb Rich Shepard via lyx-users: On Wed, 8 Dec 2021, Steve Litt wrote: That's a lot of time. How many words is this book? It's not the document's size, but the PDF image's size. I've attached a copy of the 3.7M file so everyone can play with loading it in a

Re: Graphic file formats

2021-12-09 Thread Rich Shepard via lyx-users
On Thu, 9 Dec 2021, Neal Becker via lyx-users wrote: I've had some issues similar to this, although none of my timings are as long as you describe. I often create plots with matplotlib. I believe that if you draw, say a scatterplot with 10^6 data points, the resulting pdf will contain 10^6

Re: Graphic file formats

2021-12-08 Thread Steve Litt via lyx-users
Rich Shepard said on Wed, 8 Dec 2021 09:53:55 -0800 (PST) >On Wed, 8 Dec 2021, Steve Litt wrote: > >> There are ways to shrink PDF size: >> Web search: linux shrink pdf size > >SteveT, > >First hit uses ghostscript; I never dove deep into gs and didn't know >that it can effectively compress a

Re: Graphic file formats

2021-12-08 Thread Murat Yildizoglu via lyx-users
I am not a pdf expert but this rather surprising given my experience with R plots. Rich, have you checked that the figures have not been converted to bitmaps with a default (and probably insufficient ) quality during this compression? You can check it by zooming in on the figures to see if they

Re: Graphic file formats

2021-12-08 Thread Rich Shepard
On Wed, 8 Dec 2021, Steve Litt wrote: There are ways to shrink PDF size: Web search: linux shrink pdf size SteveT, First hit uses ghostscript; I never dove deep into gs and didn't know that it can effectively compress a PDF file. It compressed the original 3,704,503 byte file to 897,417

Re: Graphic file formats

2021-12-08 Thread Rich Shepard
On Wed, 8 Dec 2021, Murat Yildizoglu wrote: If the plot has many points, the PDF may not be the best choice. I have even seen cases where the printer cannot process the page with such a plot I generally choose to export such graphics as a bitmap (PNG) with a high definition for ensuring a

Re: Graphic file formats

2021-12-07 Thread Steve Litt
Murat Yildizoglu said on Wed, 8 Dec 2021 08:49:14 +0700 >Dear Rich, >If the plot has many points, the PDF may not be the best choice. I >have even seen cases where the printer cannot process the page with >such a plot I generally choose to export such graphics as a bitmap >(PNG) with a high

Re: Graphic file formats

2021-12-07 Thread Murat Yildizoglu
Dear Rich, If the plot has many points, the PDF may not be the best choice. I have even seen cases where the printer cannot process the page with such a plot I generally choose to export such graphics as a bitmap (PNG) with a high definition for ensuring a sufficient quality for inclusion in

Re: Graphic file formats

2021-12-07 Thread Steve Litt
Rich Shepard said on Tue, 7 Dec 2021 16:05:09 -0800 (PST) >On Tue, 7 Dec 2021, Steve Litt wrote: > >> As far as my diagrams created in Inkscape, I put them in the images >> folder as .svg, and tell LyX to compile each to PDF. PDF completely >> saves the vector information, so that you can resize

Re: Graphic file formats

2021-12-07 Thread Rich Shepard
On Tue, 7 Dec 2021, Steve Litt wrote: As far as my diagrams created in Inkscape, I put them in the images folder as .svg, and tell LyX to compile each to PDF. PDF completely saves the vector information, so that you can resize without significant jaggies. Steve, I don't use Inkscape. My