X-Received: by 10.107.168.155 with SMTP id e27mr4142430ioj.117.1506676705356; Fri, 29 Sep 2017 02:18:25 -0700 (PDT) X-Received: by 10.157.40.204 with SMTP id s70mr45613ota.19.1506676705319; Fri, 29 Sep 2017 02:18:25 -0700 (PDT) Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!v62no335358itd.0!news-out.google.com!194ni749itf.0!nntp.google.com!v62no335355itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 29 Sep 2017 02:18:25 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=131.188.128.69; posting-account=JoZh5AoAAADsSIRLxOpIDJRIGYancmST NNTP-Posting-Host: 131.188.128.69 References: <413dce00-720f-411e-b421-007fc459f1dd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2a8d4872-467a-4941-9930-4596bc32073c@googlegroups.com> Subject: Re: pdfcairo/pngcairo file size limitations? From: schwarz.cd48@gmail.com Injection-Date: Fri, 29 Sep 2017 09:18:25 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Lines: 47 Xref: csiph.com comp.graphics.apps.gnuplot:3760 Am Donnerstag, 28. September 2017 22:47:47 UTC+2 schrieb Karl Ratzsch: > Am 28.09.2017 um 15:07 schrieb schwarz.cd48@gmail.com: > > gnuplot version 5.0 patchlevel 0 >=20 > > I am trying to make a matrix plot of a file that is made up of 48 colum= ns and 50000 lines. Each column contains integers between 0 - 140. I also w= ant to produce a pdf in the end. The script for the plot looks like=20 >=20 > > plot 'data.file' u 1:2:3 matrix wi image > >=20 > > The problem is that in the output.pdf the plot area/canvas is empty and= only the xtics, ytics, and cbtics are shown. If I open gnuplot in the term= inal and just do the plot in the standard qt terminal I will see the plot n= ormally as expected, but it won't be produced in the pdf. The same goes for= the pngcairo terminal. On the other hand, if I use=20 > >=20 > > set terminal postscript eps enhanced > >=20 > > then the output.eps will contain the plot with no problems and I can co= nvert eps to pdf. > >=20 > > But why does the pdfcairo/pngcairo not work? > >=20 > > I also found that if I reduce the number of lines in my 'data.file' fro= m 50000 to 30000 (cutting off 2/5 of my data), then I will get a normal plo= t in my output.pdf. If I increase it again to 40000, the canvas will again = be empty again. Does pdfcairo have some limitations here? >=20 >=20 > Yes, there is a problem. The following script produces a dataset > like yours and works on qt and windows terminal, crashes wxt, and > leaves an empty canvas with pdfcairo. (Tested on gp5.2pl0) >=20 >=20 > t=3Dtime(0) > n=3D40000 > m=3D48 > set print $dat;do for [i=3D1:n] { > s=3D"" > do for [j=3D1:m] {s=3Ds.sprintf(" %.2f",rand(0.))} > if (i%1000=3D=3D0) {set print; print i." of ".n;set print $dat append} > print s} > set print > print time(0)-t >=20 > plot $dat us 1:2:3 matrix w image I guess I report it as a bug then