Eric S Fraga <ucec...@ucl.ac.uk> writes:

> On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" <schulte.e...@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---



_______________________________________________
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

Reply via email to