emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [OT] gnuplot quality


From: Alan E. Davis
Subject: Re: [Orgmode] Re: [OT] gnuplot quality
Date: Sun, 13 Jun 2010 12:35:43 +1000

I use the gri plotting language to make plots.  Does anyone here use this? 



I am over my head in trying to use babel as a literate programming tool; yet that's exactly what I need to do, else at least have a method for coordinating better comments / notes with the code. 

Gnuplot was ok when I didn't need quailty graphs. 

I also need to learn to make a number of other types of plots, including polar plots.  I understand that it is possible with gri, but haven't set down to try to get my head around the process.

Alan Davis

On Sun, Jun 13, 2010 at 6:16 AM, Eric S Fraga <address@hidden> wrote:
On Sat, 12 Jun 2010 08:23:44 -0700, "Eric Schulte" <address@hidden> wrote:
>
> Eric S Fraga <address@hidden> writes:
>
> > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" <address@hidden> 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

[...]

> 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---
>
>

You're very welcome.  I use a number of methods to generate graphs and
diagrams and gnuplot is definitely one of my favourites.  For the
adventurous, there's a great blog:

http://gnuplot-tricks.blogspot.com/

Put gnuplot together with org-mode and org-babel and it's yet another
piece in the puzzle that leads to an incredibly powerful desktop
analysis and publishing system!

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



reply via email to

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