niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » *nix » Linux » Distributions » Debian
gnuplot: set terminal pdf
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Jason DeVita
*nix forums beginner


Joined: 03 May 2006
Posts: 3

PostPosted: Thu Jul 20, 2006 12:00 pm    Post subject: Re: gnuplot: set terminal pdf Reply with quote

Quote:
On Wed, Jul 19, 2006 at 18:16:01 -0400, Mathieu Malaterre wrote:
I was wondering if anyone manage to get 'set terminal pdf' to work
on there debian machine. Apparently there is a licensing issue:
snip


On Thu, 20 Jul 2006, Florian Kulzer wrote:
Quote:
I think you will still have to compile gnuplot yourself to enable pdf
terminal support. I was always to lazy for that, so I just use

set terminal postscript eps enhanced color solid rounded
set output "plotname.eps"

and add one line to the end of my gnuplot scripts:

!epstopdf plotname.eps && rm plotname.eps

That will give you nice, compact PDF plots with far less hassle.
(epstopdf is included in the package "tetex-bin")
snip


You can do this without the temporary file, since gnuplot supports pipes:

set terminal postscript
set output "| ps2pdf - file.pdf"

-J


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Florian Kulzer
*nix forums Guru


Joined: 11 Dec 2005
Posts: 410

PostPosted: Thu Jul 20, 2006 8:10 am    Post subject: Re: gnuplot: set terminal pdf Reply with quote

On Wed, Jul 19, 2006 at 18:16:01 -0400, Mathieu Malaterre wrote:
Quote:
Hello

I was wondering if anyone manage to get 'set terminal pdf' to work
on there debian machine. Apparently there is a licensing issue:

[Bug#248426: set terminal pdf doesn't work]
http://groups.google.com/group/linux.debian.bugs.dist/browse_frm/thread/b7637b115e19b025/b98c9bc765a0b895?&hl=en#b98c9bc765a0b895

Is there a way to get pdflite ? I was trying with
debian-unofficial.org but again I cannot get this library.

$ sudo apt-get install pdflib-lite
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package pdflib-lite

AFAIK the package is called "libpdflite5". I have

deb http://ftp.debian-unofficial.org/debian sid main contrib non-free restricted

in my sources.list and I find

$ apt-cache policy libpdflite5
libpdflite5:
Installed: (none)
Candidate: 6.0.3-1duo+etch1
Version table:
6.0.3-1duo+etch1 0
500 http://ftp.debian-unofficial.org sid/non-free Packages

I think you will still have to compile gnuplot yourself to enable pdf
terminal support. I was always to lazy for that, so I just use

set terminal postscript eps enhanced color solid rounded
set output "plotname.eps"

and add one line to the end of my gnuplot scripts:

!epstopdf plotname.eps && rm plotname.eps

That will give you nice, compact PDF plots with far less hassle.
(epstopdf is included in the package "tetex-bin")

I can send you a complete example script off-list if you want.

--
Regards,
Florian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
mathieu.malaterre@gmail.c
*nix forums beginner


Joined: 16 Sep 2005
Posts: 36

PostPosted: Wed Jul 19, 2006 10:20 pm    Post subject: gnuplot: set terminal pdf Reply with quote

Hello

I was wondering if anyone manage to get 'set terminal pdf' to work
on there debian machine. Apparently there is a licensing issue:

[Bug#248426: set terminal pdf doesn't work]
http://groups.google.com/group/linux.debian.bugs.dist/browse_frm/thread/b7637b115e19b025/b98c9bc765a0b895?&hl=en#b98c9bc765a0b895

Is there a way to get pdflite ? I was trying with
debian-unofficial.org but again I cannot get this library.

$ sudo apt-get install pdflib-lite
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package pdflib-lite

I did check that I can access some other packages on this server. for instance:

$ sudo apt-get install bladeenc
Reading package lists... Done
Building dependency tree... Done
Recommended packages:
bladeenc-doc
The following NEW packages will be installed
bladeenc
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
Need to get 62.2kB of archives.
After unpacking 193kB of additional disk space will be used.
Get: 1 http://ftp.debian-unofficial.org testing/main bladeenc
0.94.2-1duo+etch1 [62.2kB]
Fetched 62.2kB in 0s (98.3kB/s)
Selecting previously deselected package bladeenc.
(Reading database ... 203847 files and directories currently installed.)
Unpacking bladeenc (from .../bladeenc_0.94.2-1duo+etch1_i386.deb) ...
Setting up bladeenc (0.94.2-1duo+etch1) ...


Sugestions very welcome

--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Sep 03, 2010 1:39 pm | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Debian
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts VIM no controlling terminal Sashi shell 5 Wed Jul 12, 2006 6:42 pm
No new posts OS X Terminal.app and Aptitude Ian Brandt Debian 11 Tue Jul 11, 2006 12:00 am
No new posts How to perform search in gnome terminal? Rodolfo Medina Debian 7 Sat Jul 01, 2006 3:40 pm
No new posts How to perform search in gnome terminal? Rodolfo Medina Debian 0 Sat Jul 01, 2006 3:40 pm
No new posts Serial Input via Remote Terminal (termtek) glenn_prince@hotmail.com Solaris 1 Wed Jun 28, 2006 5:30 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Sponsors: Breast Enlargement | Debt Help | Compare Mortgages | WoW Gold | Debt Management
Privacy Policy
[ Time: 0.1276s ][ Queries: 21 (0.0977s) ][ GZIP on - Debug on ]