help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave w/ gnuplot backend produces bad pdf


From: Dmitri A. Sergatskov
Subject: octave w/ gnuplot backend produces bad pdf
Date: Tue, 31 May 2016 15:03:51 -0500

The following octave scrip produces a bad pdf
(similar to one in  https://bugzilla.redhat.com/show_bug.cgi?id=1340660 )

graphics_toolkit ("gnuplot")
x=linspace(-1,1,11);
y=0;
z=x;
mesh(x,y,z);
colormap([0,0,0]);
print("bad_pdf.pdf", "-dpdfcairo")

====

A gnuplot script tat demonstrates the problem is attached (it contains binary data).

Both firefox and chrome would render pdf anyway, but evince/xpdf/okular would not.

I suspect the problem with octave's
colormap([0,0,0])
command here.
But I also think that gnuplot should not produce bad pdf.

Dmitri.
--
 


Attachment: bad_gp.gp
Description: application/gnuplot

Attachment: bad_pdf.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]