[Orgmode] Re: [OT] gnuplot quality
John Hendy jw.he...@gmail.com writes: Tried this and it works well -- the output is definitely much better! One oddity -- the EPS generated is black and white whereas the typical output was in color... silly option I'm missing? try set terminal postscript eps color enhanced 20 instead of set terminal postscript eps enhanced 20 ___ 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
Re: [babel] Re: [Orgmode] Re: [OT] gnuplot quality
Hello Eric: On Tue, Jun 15, 2010 at 1:35 PM, Eric S Fraga ucec...@ucl.ac.uk wrote: I am surprised, however, at this comment: Gnuplot was ok when I didn't need quailty graphs. in what way does gnuplot fall short in terms of quality? (but keep this part of the conversatino off-list please to avoid annoying others) I don't have a great deal to say about this, so I will keep my remarks on the list. I needed/wanted a tool to produce publication quality graphs. Gnuplot is great, and I have used it in the past, to make tide graphs. In my experience, controls of the details of the graph were less accessible to me, and the graphs I produced were pretty rough edged. GRI has worked very well for me for monthly tide graph calendars, with good control of parameters. GNUPLOT is fantastic for quick, and what I felt were rough and ready plots. GRI is easily installed on Ubuntu installs, and a gri mode for emacs makes it easier. I will try the suggestions you made to work out a babel solution for gri plots. Thanks for the suggestions, Alan ___ 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
[babel] Re: [Orgmode] Re: [OT] gnuplot quality
On Sun, 13 Jun 2010 12:35:43 +1000, Alan E. Davis lngn...@gmail.com wrote: 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. Alan, I don't use gri. I have had a quick look at it and it should be possible (for others, not me :() to create an org-babel interface for this. If you have any elisp knowledge, you could try starting from one of the existing language implementations. You could also try to use the support for sh in org-babel but you'd have to get the table data into a file first. Others may have more reasonable suggestions, however... I am surprised, however, at this comment: Gnuplot was ok when I didn't need quailty graphs. in what way does gnuplot fall short in terms of quality? (but keep this part of the conversatino off-list please to avoid annoying others) -- 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
Re: [babel] Re: [Orgmode] Re: [OT] gnuplot quality
Eric S Fraga ucec...@ucl.ac.uk writes: On Sun, 13 Jun 2010 12:35:43 +1000, Alan E. Davis lngn...@gmail.com wrote: 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. Alan, I don't use gri. I have had a quick look at it and it should be possible (for others, not me :() to create an org-babel interface for this. If you have any elisp knowledge, you could try starting from one of the existing language implementations. You could also try to use the support for sh in org-babel but you'd have to get the table data into a file first. If this is something you're interested in, you could start by making a copy of org-babel-gnuplot.el, and then search/replace gnuplot/gri, and you'll be most of the way there. The gnuplot file already has support for dropping tables to tab-separated files, and then placing the paths to those files into the body of code blocks, which may be sufficient for table support in gri -- although having not heard of gri before this email I can't say for sure. Best -- Eric Others may have more reasonable suggestions, however... I am surprised, however, at this comment: Gnuplot was ok when I didn't need quailty graphs. in what way does gnuplot fall short in terms of quality? (but keep this part of the conversatino off-list please to avoid annoying others) ___ 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
[Orgmode] Re: [OT] gnuplot quality
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
[Orgmode] Re: [OT] gnuplot quality
On Sat, 12 Jun 2010 08:23:44 -0700, Eric Schulte schulte.e...@gmail.com wrote: 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 [...] 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
Re: [Orgmode] Re: [OT] gnuplot quality
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 ucec...@ucl.ac.uk wrote: On Sat, 12 Jun 2010 08:23:44 -0700, Eric Schulte schulte.e...@gmail.com wrote: 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 [...] 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 ___ 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