From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: [OT] gnuplot quality (was Re: org-plot file export options) Date: Sat, 12 Jun 2010 10:18:08 -0500 Message-ID: References: <87eigde28n.fsf@gmail.com> <87d3vw8shu.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0224409297==" Return-path: Received: from [140.186.70.92] (port=34560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONSTS-0004yH-Pb for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 11:18:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONSTK-0002tB-0C for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 11:18:11 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:40895) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONSTJ-0002t3-SS for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 11:18:09 -0400 Received: by vws8 with SMTP id 8so2910166vws.0 for ; Sat, 12 Jun 2010 08:18:09 -0700 (PDT) In-Reply-To: <87d3vw8shu.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: emacs-orgmode --===============0224409297== Content-Type: multipart/alternative; boundary=001636c9353f5a0aff0488d6c384 --001636c9353f5a0aff0488d6c384 Content-Type: text/plain; charset=ISO-8859-1 Thanks for both tips -- I'll give these a try on Monday when I'm back at work. Much appreciated! On Sat, Jun 12, 2010 at 5:17 AM, Eric S Fraga wrote: > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" > wrote: > > [...] > > > WRT: the ugliness of gnuplot to file, I've wrestled with this myself and > > I know exactly what you mean. Currently I try to use svg or png images > > when exporting to html, and for pdf I use the gnuplot tikz terminal [2]. > > John & Eric, > > Another approach, which I use and which doesn't require using the > development version of gnuplot for the tikz support, is to generate > encapsulated postscript files: > > set terminal postscript eps enhanced 20 > set output "graph.eps" > > for instance. Then, if I need bitmap images, I use "convert" from > ImageMagick to create these from the EPS files with the required > density (depending on intended use, whether screen display or > printing), as in > > convert -quality 95 -density 300 graph.eps graph.png > > With EPS, you can get very nice looking text, especially with the > "enhanced" gnuplot set terminal option and the result is size > independent. > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > --001636c9353f5a0aff0488d6c384 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for both tips -- I'll give these a try on Monday when I'm ba= ck at work. Much appreciated!

On Sat, Jun= 12, 2010 at 5:17 AM, Eric S Fraga <ucecesf@ucl.ac.uk> wrote:
On Fri, 11 Jun 20= 10 13:35:52 -0700, "Eric Schulte" <schulte.eric@gmail.com> wrote:

[...]

> WRT: the ugliness of gnuplot to file, I've wrestled with this myse= lf and
> I know exactly what you mean. =A0Currently I try to use svg or png ima= ges
> when exporting to html, and for pdf I use the gnuplot tikz terminal [2= ].

John & Eric,

Another approach, which I use and which doesn't require using the
development version of gnuplot for the tikz support, is to generate
encapsulated postscript files:

=A0set terminal postscript eps enhanced 20
=A0set output "graph.eps"

for instance. =A0Then, if I need bitmap images, I use "convert" f= rom
ImageMagick to create these from the EPS files with the required
density (depending on intended use, whether screen display or
printing), as in

=A0convert -quality 95 -density 300 graph.eps graph.png

With EPS, you can get very nice looking text, especially with the
"enhanced" gnuplot set terminal option and the result is size
independent.

--
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29 =A0570D C891 93D8 FFFC F67D


--001636c9353f5a0aff0488d6c384-- --===============0224409297== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0224409297==--