Re: [Orgmode] org-plot file export options
Hi John, If you're going to be doing anything complicated with your plots you may want to try using org-babel [1] rather than using org-plot. The following should Org-babel alternative should work. 1) ensure org-babel in installed on your system, and gnuplot is activated. ;; Org-babel (require 'org-babel-init) (require 'org-babel-gnuplot) 2) Name your table with a #+tblname: just before the start of your table line, e.g. #+tblname: formulation-viscosities | your table contents | go right here | 3) create a gnuplot code block, which takes your table as an argument and plots it to a file, notice `:var' and `:file' the header arguments #+begin_src gnuplot :var data=formulation-viscosities :file ~/Desktop/test.jpg set terminal jpg transparent nocrop enhanced font arial 8 set xlabel 'Temperature (C)' set ylabel 'Viscosity (cP) set title 'Formulation Viscosities' plot "$data" with lines #+end_src 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]. Gnuplot in combination with tikz results in *beautiful* plots, which render and resize well. However it took me hours to get everything configured, so it may not be for everyone. Good Luck -- Eric John Hendy writes: > Hi, > > > A couple questions: > > My current plot options are as follows: > #+PLOT: title:"Formulation Viscosities" ind:1 type:2d with:lines > #+PLOT: set:"xlabel 'Temperature (C)'" set:"ylabel 'Viscosity (cP)'" > > 1) I've been trying to output a file and can only manage to get PNGs to > work. > --- I've tried the recommendations here: > http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07825.html > --- In other words, I've used the given examples from Eric of: > > #+PLOT: file:"~/Desktop/test.jpg" > > As well as: > > #+PLOT set:"terminal jpg transparent nocrop enhanced font arial 8" > #+PLOT set:"output '~/Desktop/test.jpg'" > > And both resultant files don't open in Evince or Gimp. > > I've also tried the options from Wikipedia on plotting, found here: > http://en.wikipedia.org/wiki/Wikipedia%3AHow_to_create_graphs_for_Wikipedia_articles > --- That article seems to recommend svg or ps format, later modified > with Gimp or another program for use > > > 2) How does one generate better quality with gnuplot? The one thing > that does work is simply #+PLOT: file:"~/Desktop/test.png" but the > resultant file is unacceptable > for my report. The letters look very pixelated. My questions above are > actually asked because I need to get a handle on how to generate a > better graph for my report... > --- The text is pretty bad and using #+PLOT: set:"terminal fsize #" > doesn't seem to change this. Is my syntax bad? I was working from this > option from the wiki linked above: > > set terminal svg enhanced size 1000 1000 fname "Times" fsize 36 > > > Thanks! > John > ___ > 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 Footnotes: [1] http://orgmode.org/worg/org-contrib/babel/ [2] http://peter.affenbande.org/gnuplot/ ___ 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] org-plot file export options
Hi, A couple questions: My current plot options are as follows: #+PLOT: title:"Formulation Viscosities" ind:1 type:2d with:lines #+PLOT: set:"xlabel 'Temperature (C)'" set:"ylabel 'Viscosity (cP)'" 1) I've been trying to output a file and can only manage to get PNGs to work. --- I've tried the recommendations here: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07825.html --- In other words, I've used the given examples from Eric of: #+PLOT: file:"~/Desktop/test.jpg" As well as: #+PLOT set:"terminal jpg transparent nocrop enhanced font arial 8" #+PLOT set:"output '~/Desktop/test.jpg'" And both resultant files don't open in Evince or Gimp. I've also tried the options from Wikipedia on plotting, found here: http://en.wikipedia.org/wiki/Wikipedia%3AHow_to_create_graphs_for_Wikipedia_articles --- That article seems to recommend svg or ps format, later modified with Gimp or another program for use 2) How does one generate better quality with gnuplot? The one thing that does work is simply #+PLOT: file:"~/Desktop/test.png" but the resultant file is unacceptable for my report. The letters look very pixelated. My questions above are actually asked because I need to get a handle on how to generate a better graph for my report... --- The text is pretty bad and using #+PLOT: set:"terminal fsize #" doesn't seem to change this. Is my syntax bad? I was working from this option from the wiki linked above: set terminal svg enhanced size 1000 1000 fname "Times" fsize 36 Thanks! John ___ 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: visiting the last node filed from Remember buffer
Rainer Stengele writes: > Org is so lovely - could play with it all day - if only the todos > would not have to be done ... Mhh... I think I've found a behavioral pattern for people on this list: proactive people who find kinda compensation in fiddling with their task management system (TMS). Working with the systematic help of a TMS would be boring if we were not allowed to play with it :) -- Bastien ___ 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: visiting the last node filed from Remember buffer
Am 11.06.2010 13:46, schrieb Richard Riley: > Bastien writes: > >> Sébastien Vauban writes: >> This could go in Worg: >>> >>> This is automatically done. Did not know about this, but yes it's there (in >>> the bookmark list, when `C-x r l'), without having set anything special. >> >> Aaarrgh! I *love* Org. > > Cool. It really is by programmers for programmers and any one else might > apply;) Similarly C-c C-x C-j jumps to last clocked item if nothing is > being currently clocked. Little things! > amazing little thing - didn't know these ones too. Org is so lovely - could play with it all day - if only the todos would not have to be done ... Rainer ___ 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: visiting the last node filed from Remember buffer
Bastien writes: > Sébastien Vauban writes: > >>> This could go in Worg: >> >> This is automatically done. Did not know about this, but yes it's there (in >> the bookmark list, when `C-x r l'), without having set anything special. > > Aaarrgh! I *love* Org. Very nice, i have just added a key "O" to filter only these two bookmarks in bookmark-extensions.el http://mercurial.intuxication.org/hg/emacs-bookmark-extension/ So when you hit "O" from the bookmark list (C-x r l) you have that: , | % Bookmark Last Org Stored | - | org-refile-last-stored | org-remember-last-stored ` -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ ___ 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: visiting the last node filed from Remember buffer
Bastien writes: > Sébastien Vauban writes: > >>> This could go in Worg: >> >> This is automatically done. Did not know about this, but yes it's there (in >> the bookmark list, when `C-x r l'), without having set anything special. > > Aaarrgh! I *love* Org. Cool. It really is by programmers for programmers and any one else might apply;) Similarly C-c C-x C-j jumps to last clocked item if nothing is being currently clocked. Little things! ___ 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: visiting the last node filed from Remember buffer
Exactly. I never had to change anything for this. I use the bookmark system regularly and "one day" I realised that org-mode was setting these bookmarks automatically for me. -- Darlan At Thu, 10 Jun 2010 14:11:03 -0700, "Ken Olstad" wrote: > > If I understand correctly, there's no hack, it's just what remember does > (sets the bookmark) to implement org-remember-goto-last-stored. Cool. > > -Original Message- > From: Bastien Guerry [mailto:bastiengue...@googlemail.com] On Behalf Of > Bastien > Sent: Thursday, June 10, 2010 11:10 AM > To: Darlan Cavalcante Moreira > Cc: Bernt Hansen; Ken Olstad; Matt Lundin; Emacs-orgmode@gnu.org > Subject: Re: [Orgmode] Re: visiting the last node filed from Remember > buffer > > Hi Darlan, > > Darlan Cavalcante Moreira writes: > > > Whenever I use remember or refile a subtree org-mode automatically > sets the > > bookmarks "org-refile-last-stored" and > > "org-remember-last-stored". Therefore I can use the standard emacs > bookmark > > system for that ("C-x r l" to list all bookmarks). > > Nice. Could you explain more into details how do you automatically > create the bookmark? > > This could go in Worg: > > http://orgmode.org/worg/org-hacks.php > > -- > Bastien ___ 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: Beamer presentation in the document
Hi all, Sébastien Vauban wrote: > Sébastien Vauban wrote: >> 3. How can I easily switch between exporting: >>- the document, or >>- the slides? >> >>I guess I must use include/exclude tags? Right? > > To exclude the slides is done via: > > #+EXPORT_EXCLUDE_TAGS: presentation > > > * Chapter 1 > > * Chapter 2 > > * Presentation :presentation: > :PROPERTIES: > :LaTeX_CLASS: beamer > :LaTeX_CLASS_OPTIONS: [presentation,t] > :BEAMER_FRAME_LEVEL: 1 > :BEAMER_HEADER_EXTRA: \usetheme{default}\usecolortheme{default} > :COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) > %4BEAMER_col(Col) %8BEAMER_extra(Extra) > :END: > > ** Slide 1 > > ** Slide 2 > > > "To only get the slides" is equivalent to "to exclude the document"; so, one > solution can be to tag all the chapters in my document, and exclude such tags. This does not work properly, in fact. It is also related to my question #2: >> 2. How can I use a title, for the slides, different from the heading >>`Presentation'? >> >>You can see that my `TITLE' property gets ignored. Doing the above way takes "Presentation :presentation:" as title (tag included). Best regards, Seb -- Sébastien Vauban ___ 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