From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: Re: [OT] gnuplot quality Date: Sun, 13 Jun 2010 12:35:43 +1000 Message-ID: References: <87eigde28n.fsf@gmail.com> <87d3vw8shu.wl%ucecesf@ucl.ac.uk> <87631o8ebj.fsf@gmail.com> <87wru4uhux.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0437859674==" Return-path: Received: from [140.186.70.92] (port=34725 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONdEJ-0003uF-Lw for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 22:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONd3M-000595-PW for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 22:36:06 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:44975) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONd3M-00058w-Kd for emacs-orgmode@gnu.org; Sat, 12 Jun 2010 22:36:04 -0400 Received: by iwn1 with SMTP id 1so2943850iwn.0 for ; Sat, 12 Jun 2010 19:36:03 -0700 (PDT) In-Reply-To: <87wru4uhux.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: org-mode mailing list --===============0437859674== Content-Type: multipart/alternative; boundary=005045029e78be36510488e03be6 --005045029e78be36510488e03be6 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > On Sat, 12 Jun 2010 08:23:44 -0700, "Eric Schulte" > wrote: > > > > Eric S Fraga 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 > > [...] > > > 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > --005045029e78be36510488e03be6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I use the gri plotting language to make plots.=A0 Does anyone here use this= ?=A0



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.=A0
Gnuplot was ok when I didn't need quailty graphs.=A0

I also= need to learn to make a number of other types of plots, including polar pl= ots.=A0 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 <ucecesf@ucl.ac.uk> wrote:
On Sat, 12 Jun 2010 08:23:44 -0700, "Eric Schulte&qu= ot; <schulte.eric@gmail.com> wrote:
>
> Eric S Fraga <
ucecesf@ucl.ac.u= k> writes:
>
> > On Fri, 11 Jun 2010 13:35:52 -0700, "Eric Schulte" <= schulte.eric@gmail.com> wr= ote:
> >
> > [...]
> >
> >> WRT: the ugliness of gnuplot to file, I've wrestled with = this myself and
> >> I know exactly what you mean. =A0Currently I try to use svg o= r png images
> >> when exporting to html, and for pdf I use the gnuplot tikz te= rminal [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 genera= te
> > encapsulated postscript files:
> >
> > =A0 set terminal postscript eps enhanced 20
> > =A0 set output "graph.eps"
> >
>
> Thanks!
>
> I just tried the above (well technically the below [1]) and it does lo= ok
> great and scales well. =A0It's nice to have a light-weight alterna= tive to
> tikz -- a great addition to my plotting toolbox.
>
> Best -- Eric

[...]

> Footnotes:
> [1]
> --8<---------------cut here---------------start------------->8--= -
> #+begin_src gnuplot
> =A0 set terminal postscript eps enhanced 20 color
> =A0 set output "~/Desktop/graph.eps"
> =A0 set isosample 30,30
> =A0 set title 'bumpy'
> =A0 set xrange[-4:4]
> =A0 set yrange[-4:4]
> =A0 splot sin(x) + sin(y) notitle
> #+end_src
> --8<---------------cut here---------------end--------------->8--= -
>
>

You're very welcome. =A0I use a number of methods to generate gra= phs and
diagrams and gnuplot is definitely one of my favourites. =A0For the
adventurous, there's a great blog:

http://gn= uplot-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 =A0570D C891 93D8 FFFC F67D

_______________________________________________
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


--005045029e78be36510488e03be6-- --===============0437859674== 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 --===============0437859674==--