Re: [OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
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? On Sat, Jun 12, 2010 at 5:24 AM, Eric S Fraga ucec...@ucl.ac.uk wrote: On Sat, 12 Jun 2010 11:17:33 +0100, Eric S Fraga ucec...@ucl.ac.uk wrote: [...] 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 -quality 95 -density 300 graph.eps graph.png Ooops, ignore the -quality 95 as that is only appropriate if you are creating a lossy format output, such as jpeg! -- 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
Re: [OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
John Hendy jw.he...@gmail.com wrote: 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? monochrome is default: , | set terminal postscript eps enhanced 20 | Terminal type set to 'postscript' | Options are 'eps enhanced defaultplex \ |leveldefault monochrome colortext \ |dashed dashlength 1.0 linewidth 1.0 butt \ |palfuncparam 2000,0.003 \ |Helvetica 20 ' ` Say help set terminal postcript to gnuplot and it'll spew (among other things): , | `default` sets all options to their defaults: `landscape`, `monochrome`, | `dashed`, `dl 1.0`, `lw 1.0`, `defaultplex`, `noenhanced`, Helvetica and | 14pt. Default size of a PostScript plot is 10 inches wide and 7 inches high. | The option `color` enables color, while `monochrome` prefers black and white | drawing elements. Further, `monochrome` uses gray `palette` but it does not | change color of objects specified with an explicit `colorspec`. | `solid` draws all plots with solid lines, overriding any dashed patterns. | `dashlength` or `dl` scales the length of the dashed-line segments by DL, | which is a floating-point number greater than zero. | `linewidth` or `lw` scales all linewidths by LW. ` HTH, Nick ___ 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: [OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
Much appreciated. Color works perfectly. On Fri, Jun 18, 2010 at 4:13 PM, Nick Dokos nicholas.do...@hp.com wrote: John Hendy jw.he...@gmail.com wrote: 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? monochrome is default: , | set terminal postscript eps enhanced 20 | Terminal type set to 'postscript' | Options are 'eps enhanced defaultplex \ |leveldefault monochrome colortext \ |dashed dashlength 1.0 linewidth 1.0 butt \ |palfuncparam 2000,0.003 \ |Helvetica 20 ' ` Say help set terminal postcript to gnuplot and it'll spew (among other things): , | `default` sets all options to their defaults: `landscape`, `monochrome`, | `dashed`, `dl 1.0`, `lw 1.0`, `defaultplex`, `noenhanced`, Helvetica and | 14pt. Default size of a PostScript plot is 10 inches wide and 7 inches high. | The option `color` enables color, while `monochrome` prefers black and white | drawing elements. Further, `monochrome` uses gray `palette` but it does not | change color of objects specified with an explicit `colorspec`. | `solid` draws all plots with solid lines, overriding any dashed patterns. | `dashlength` or `dl` scales the length of the dashed-line segments by DL, | which is a floating-point number greater than zero. | `linewidth` or `lw` scales all linewidths by LW. ` HTH, Nick ___ 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
[OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
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 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 -quality 95 -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. -- 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: [OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
On Sat, 12 Jun 2010 11:17:33 +0100, Eric S Fraga ucec...@ucl.ac.uk wrote: [...] 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 -quality 95 -density 300 graph.eps graph.png Ooops, ignore the -quality 95 as that is only appropriate if you are creating a lossy format output, such as jpeg! -- 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: [OT] gnuplot quality (was Re: [Orgmode] org-plot file export options)
Thanks for both tips -- I'll give these a try on Monday when I'm back at work. Much appreciated! On Sat, Jun 12, 2010 at 5:17 AM, Eric S Fraga ucec...@ucl.ac.uk wrote: 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 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 -quality 95 -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. -- 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