emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Manish <mailtomanish.sharma@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: org-plot (generating graphs from org-mode)
Date: Tue, 26 Aug 2008 08:10:01 -0700	[thread overview]
Message-ID: <18612.7369.222269.653586@gargle.gargle.HOWL> (raw)
In-Reply-To: <e7cdbe30808260302o278c798ew81c8e6e3fd24a602@mail.gmail.com>

On Tuesday, August 26, at 15:32, Manish wrote:
 >   On Tue, Aug 26, 2008 at 7:23 AM, Eric Schulte wrote:
 >   > Hi,
 >   >
 >   > org-plot enables generation of graphs from data stored in org tables
 >   > (maybe eventually elsewhere in org files).
 >   >
 >   > It is available on github at
 >   > http://github.com/eschulte/org-plot/tree/master or with
 >   >
 >   >  git clone git://github.com/eschulte/org-plot.git
 >   >
 >   > Included with org-plot.el is an example.org file which should quickly
 >   > show off it's features, options and abilities.
 >   >
 >   > While this is not completed, it is functional, and I figure better to
 >   > get early feedback then wait until it's all polished.  Please give it
 >   > a look and let me know what you think.
 > 
 > Awesome!  This has wonderful possibilities for my work.  I just wish I
 > had this a couple of months ago.  But I hope I am going to have an
 > opportunity to use this again soon.

Great to hear, hopefully this will be more robust by then :)

 > Works great on GNU Emacs 22.1.1 with Org 6.06b and gnuplot 4.2
 > patchlevel 3.  Got a "current buffer has no process" when tried from
 > Windows Native GNU Emacs 22.2.1 but I am sure that's something I need
 > to correct at my end.

I'll take a look and see if there are any unix-only commands being
used, I have no access to windows machines so I may not be able to
reproduce.

 > A couple of questions (or feature requests):
 > 
 > 1. How can I save the image?  I think the question how to use a
 >    different device like "png" and have charts saved on disk.

you can save the image by adding a

 file:"path-to-image.jpg"

option to the #+PLOT: line above the graph, which should set gnuplot's
`output' and `term' options appropriately, if you want to do fancy
things you can set these values manually by adding something like the
following to the #+PLOT: line

 set:"terminal png transparent nocrop enhanced font arial 8"
 set:"output 'my-output-file.png'"

 > 2. How to use custom labels?

there is an option intended for this purpose labels:(col1 col2) which
should have this effect, however I will probably need to change the
way the regexp parses options first, I'll put this on my TODO list and
let you know when it's working.

 > 3. How can I pick and choose which columns to plot like in gnuplot's
 >    plot command?

you select the column to serve as the dependent variable (x-axis)
using the dep: command with the number of the column as the sole
argument (dep:1 to use the first column).  To specify which cols
should be plotted use the inds: options passing a list of column
numbers, like inds:(2 3)

 > 4. How can I cycle through all tables and plot them all?

I have no idea what the best method would be for cycling through
tables, I agree this would be a useful feature (picturing all graphs
being re-generated upon export to latex/html), however I don't know of
any commands for cycling through tables.  I've been thinking of
defining a [[plot:]] type link which may make this easier.  Also, I
may be able to copy an answer from the exporting code.  If anyone has
any ideas I'd love to hear them.

 > Thanks for writing and sharing this.

Thank you, I'm happy it may be useful. -- Eric

 > Regards,
 > -- Manish

-- 
schulte

  reply	other threads:[~2008-08-26 15:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26  1:53 org-plot (generating graphs from org-mode) Eric Schulte
2008-08-26 10:02 ` Manish
2008-08-26 15:10   ` Eric Schulte [this message]
2008-09-01 14:27     ` Carsten Dominik
2008-08-26 12:24 ` Sebastian Rose
2008-08-26 12:36 ` Sebastian Rose
2008-08-26 15:08   ` Eric Schulte
2008-08-27 15:27 ` Samuel Wales
2008-08-27 22:18   ` Eric Schulte
2008-09-02 18:08 ` Thomas Baumann
2008-09-02 21:26   ` JBash
2008-09-03  7:03     ` Carsten Dominik
2008-09-03 14:26       ` Eric Schulte
     [not found] <20080826151404.0996C2179B@mailhost.cs.tu-berlin.de>
2008-08-26 17:57 ` Emacs-orgmode Digest, Vol 30, Issue 39 Stephan Schmitt
2008-08-26 18:08   ` Eric Schulte
2008-08-26 23:09     ` org-plot (generating graphs from org-mode) Eric Schulte
2008-08-27  9:30       ` Sebastian Rose
2008-08-27 15:02         ` Eric Schulte
2008-08-27  9:32       ` Sebastian Rose
2008-08-29 11:16       ` William Henney
2008-08-31 18:14         ` Eric Schulte
2008-09-03  3:25           ` William Henney
2008-09-01  0:52         ` Eric Schulte
2008-09-01 19:45           ` Seweryn Kokot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18612.7369.222269.653586@gargle.gargle.HOWL \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).