From: "Eric Schulte" <schulte.eric@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [OT] gnuplot quality
Date: Sat, 12 Jun 2010 08:23:44 -0700 [thread overview]
Message-ID: <87631o8ebj.fsf@gmail.com> (raw)
In-Reply-To: <87d3vw8shu.wl%ucecesf@ucl.ac.uk> (Eric S. Fraga's message of "Sat, 12 Jun 2010 11:17:33 +0100")
Eric S Fraga <ucecesf@ucl.ac.uk> writes:
> On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" <schulte.eric@gmail.com> 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"
>
Thanks!
I just tried the above (well technically the below [1]) and it does look
great and scales well. It's nice to have a light-weight alternative to
tikz -- a great addition to my plotting toolbox.
Best -- Eric
>
> 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 -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.
Footnotes:
[1]
--8<---------------cut here---------------start------------->8---
#+begin_src gnuplot
set terminal postscript eps enhanced 20 color
set output "~/Desktop/graph.eps"
set isosample 30,30
set title 'bumpy'
set xrange[-4:4]
set yrange[-4:4]
splot sin(x) + sin(y) notitle
#+end_src
--8<---------------cut here---------------end--------------->8---
next prev parent reply other threads:[~2010-06-12 15:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 20:12 org-plot file export options John Hendy
2010-06-11 20:35 ` Eric Schulte
2010-06-12 10:17 ` [OT] gnuplot quality (was Re: org-plot file export options) Eric S Fraga
2010-06-12 10:24 ` Eric S Fraga
2010-06-18 20:43 ` John Hendy
2010-06-18 21:00 ` [OT] gnuplot quality Eric Schulte
2010-06-18 21:13 ` [OT] gnuplot quality (was Re: org-plot file export options) Nick Dokos
2010-06-18 22:04 ` John Hendy
2010-06-12 15:18 ` John Hendy
2010-06-12 15:23 ` Eric Schulte [this message]
2010-06-12 20:16 ` [OT] gnuplot quality Eric S Fraga
2010-06-13 2:35 ` Alan E. Davis
2010-06-13 10:03 ` [OT] what about asymptote ? Nicolas Goaziou
2010-06-13 16:31 ` Eric Schulte
2010-06-13 17:48 ` Nicolas Goaziou
2010-06-15 13:35 ` [babel] Re: Re: [OT] gnuplot quality Eric S Fraga
2010-06-15 15:30 ` Eric Schulte
2010-06-16 10:27 ` Štěpán Němec
2010-06-17 3:07 ` Alan E. Davis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87631o8ebj.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).