From: "David O'Toole" <dto1138@gmail.com>
To: emacs-orgmode@gnu.org
Subject: org-plotting with date as the independent variable
Date: Tue, 23 Jun 2009 10:49:59 -0400 [thread overview]
Message-ID: <64bfe3d50906230749h5d5fd04djdec158e2d581fed9@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1281 bytes --]
I'm having trouble with org-plotting data that is captured on certain dates
over time, like my bodyweight. My table looks like this, but the plotting
seems to be very wrong:
#+PLOT: ind:1 timefmt:"%Y-%m-%d" with:points
| Date | Weight |
|------------+--------|
| 2008-09-26 | 266 |
| 2008-10-08 | 261 |
| 2008-10-16 | 263 |
| 2008-10-19 | 259 |
| 2009-05-20 | 272 |
| 2009-06-12 | 274 |
| 2009-06-23 | 275 |
I've attached the incorrect image.
Also how can I plot the totals from a bunch of separate tables as the
dependent variable? Each of the tables would be like the following below:
| Time | Description | Calories |
|------+------------------------+----------|
| 6:00 | Whey shake, 2 scoops | 200 |
| | + 2 cups skim milk | 180 |
| 9:30 | 4 egg whites | 120 |
| | + 2 slices salami | 200 |
| | + 1 slice cheese | 110 |
| | Whey shake, 2 scoops | 200 |
| | + 2 cups skim milk | 180 |
| | light yogurt | 60 |
| | rice cake | 40 |
| | + 2 tbsp peanut butter | 200 |
|------+------------------------+----------|
| | TOTAL | 1490 |
#+TBLFM: @12$3=vsum(@2$3..@11$3)
[-- Attachment #1.2: Type: text/html, Size: 1421 bytes --]
[-- Attachment #2: orgplot.png --]
[-- Type: image/png, Size: 31946 bytes --]
[-- Attachment #3: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next reply other threads:[~2009-06-23 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-23 14:49 David O'Toole [this message]
2009-07-07 19:25 ` org-plotting with date as the independent variable Eric Schulte
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=64bfe3d50906230749h5d5fd04djdec158e2d581fed9@mail.gmail.com \
--to=dto1138@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.