emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-plotting with date as the independent variable
@ 2009-06-23 14:49 David O'Toole
  2009-07-07 19:25 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: David O'Toole @ 2009-06-23 14:49 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-07 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 14:49 org-plotting with date as the independent variable David O'Toole
2009-07-07 19:25 ` Eric Schulte

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).