Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3758

pdfcairo/pngcairo file size limitations?

X-Received by 10.36.77.129 with SMTP id l123mr525250itb.10.1506604080312; Thu, 28 Sep 2017 06:08:00 -0700 (PDT)
X-Received by 10.157.40.204 with SMTP id s70mr21677ota.19.1506604080186; Thu, 28 Sep 2017 06:08:00 -0700 (PDT)
Path csiph.com!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!o200no382460itg.0!news-out.google.com!194ni1115itf.0!nntp.google.com!o200no380712itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 28 Sep 2017 06:07:59 -0700 (PDT)
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
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <413dce00-720f-411e-b421-007fc459f1dd@googlegroups.com> (permalink)
Subject pdfcairo/pngcairo file size limitations?
From schwarz.cd48@gmail.com
Injection-Date Thu, 28 Sep 2017 13:08:00 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 35
Xref csiph.com comp.graphics.apps.gnuplot:3758

Show key headers only | View raw


gnuplot version 5.0 patchlevel 0


Hello gplusers,

I am trying to make a matrix plot of a file that is made up of 48 columns and 50000 lines. Each column contains integers between 0 - 140. I also want to produce a pdf in the end. The script for the plot looks like this

    #!/usr/bin/gnuplot
    set terminal pdfcairo font ",60" size 16,18
    set output "output.pdf"

    set cbrange [0:140]
    plot 'data.file' u 1:2:3 matrix wi image

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 terminal and just do the plot in the standard qt terminal I will see the plot normally 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 

    set terminal postscript eps enhanced

then the output.eps will contain the plot with no problems and I can convert eps to pdf.

But why does the pdfcairo/pngcairo not work?

I also found that if I reduce the number of lines in my 'data.file' from 50000 to 30000 (cutting off 2/5 of my data), then I will get a normal plot in my output.pdf. If I increase it again to 40000, the canvas will again be empty again. Does pdfcairo have some limitations here?

Cheers,
Paul

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

pdfcairo/pngcairo file size limitations? schwarz.cd48@gmail.com - 2017-09-28 06:07 -0700
  Re: pdfcairo/pngcairo file size limitations? Karl Ratzsch <mail.kfr@gmx.net> - 2017-09-28 22:47 +0200
    Re: pdfcairo/pngcairo file size limitations? schwarz.cd48@gmail.com - 2017-09-29 02:18 -0700
    Re: pdfcairo/pngcairo file size limitations? Ethan A Merritt <EAMerritt@gmail.com> - 2017-10-02 09:18 -0700
      Re: pdfcairo/pngcairo file size limitations? Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-10-02 11:44 -0700
        Re: pdfcairo/pngcairo file size limitations? Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-10-02 13:52 -0700

csiph-web