From: Thierry Banel <tbanelwebmin@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: Trying to get chart from table working
Date: Sun, 01 Oct 2017 20:51:31 +0200 [thread overview]
Message-ID: <59D13933.7000202@free.fr> (raw)
In-Reply-To: <1506865644.2643850.1124068920.10D5C3AD@webmail.messagingengine.com>
Do you get the following lines?
(you can erase them, they will be recreated).
#+results:
[[file:timeseries.pdf]]
If you click on the link, it should open okular or acrobat reader or
whatever displaying the plot.
Otherwise you can try a different format, PNG for instance:
#+begin_src gnuplot :var data=measurements :file timeseries.png
:results inline
On 01/10/2017 15:47, Peter Davis wrote:
> On Sat, Sep 30, 2017, at 09:25 AM, Eric S Fraga wrote:
>> On Friday, 29 Sep 2017 at 17:32, Peter Davis wrote:
>>> I'm sorry to belabor this, but I could use some help. I'd be willing to
>>> pay a modest consulting fee, but I'm trying to solve a problem in a
>>> timely way, as it would help me with healthcare decisions.
>>>
>>> Basically, I want to plot a time series graph showing my PSA (prostate
>>> specific antigen) over time. The PSA is measured at irregular intervals,
>>> and has been for over 4 years (and hopefully will continue for many more
>>> years.) That should be a simple enough graph. I've already got a
>>> javascript d3 example that does this, but I'd like to embed it in a
>>> document, and to be able to generate PDF.
>> This part is relatively straightforward. Using your data example, you
>> can do the following:
>>
> Thank you for the example, Eric. Running this gives me a page with the
> table and the code on it, but no plot. Here's what *Messages* says:
>
> gnuplot-mode 0.7-beta -- determining gnuplot version ......
> gnuplot-mode 0.7-beta (gnuplot 5.2) -- report bugs with "C-c C-u"
> Saving file /Users/peterdavis/Dropbox/Org/t.org...
> Wrote /Users/peterdavis/Dropbox/Org/t.org
> Mark set
> Saving file /Users/peterdavis/Dropbox/Org/t.org...
> Wrote /Users/peterdavis/Dropbox/Org/t.org
> org-babel-exp process gnuplot at position 292...
> Saving file /Users/peterdavis/Dropbox/Org/t.tex...
> Wrote /Users/peterdavis/Dropbox/Org/t.tex
> Processing LaTeX file ./t.tex...
> PDF file produced.
> Running open /Users/peterdavis/Dropbox/Org/t.pdf...done
>
> Thank you.
>
> -pd
>
>
>> The colouring bit is harder and I don't know whether it's possible or
>> not. I suggest you look at examples on the web, e.g.
>>
>> http://gnuplot.sourceforge.net/demo/
>>
>> to see if anything fits what you are trying to do.
>>
>> HTH,
>> eric
>>
>> --
>> : Eric S Fraga via Emacs 27.0.50, Org release_9.1.1-78-gfbf47c
>> Email had 2 attachments:
>> + t.org
>> 1k (text/x-org)
>> + signature.asc
>> 1k (application/pgp-signature)
>
next prev parent reply other threads:[~2017-10-01 18:51 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-29 14:16 Trying to get chart from table working Peter Davis
2017-09-29 14:51 ` Eric S Fraga
2017-09-29 15:42 ` Peter Davis
2017-09-29 15:46 ` Peter Davis
2017-09-29 21:32 ` Peter Davis
2017-09-30 13:25 ` Eric S Fraga
2017-10-01 13:47 ` Peter Davis
2017-10-01 18:51 ` Thierry Banel [this message]
2017-10-01 19:06 ` Peter Davis
2017-10-02 10:27 ` Eric S Fraga
2017-10-02 11:21 ` Peter Davis
2017-10-02 12:59 ` Eric S Fraga
2017-10-02 13:54 ` Peter Davis
2017-10-02 13:58 ` Peter Davis
2017-10-02 14:24 ` Peter Davis
2017-10-02 15:37 ` Eric S Fraga
2017-10-02 19:39 ` Peter Davis
2017-10-03 8:14 ` Eric S Fraga
2017-10-03 14:37 ` Nick Dokos
2017-10-03 14:56 ` Peter Davis
2017-10-03 17:23 ` Nick Dokos
2017-10-03 19:28 ` Peter Davis
2017-10-04 5:36 ` Eric S Fraga
2017-10-04 11:24 ` Peter Davis
2017-10-04 11:49 ` Peter Davis
2017-10-04 12:48 ` Eric S Fraga
2017-10-04 13:12 ` Peter Davis
2017-10-04 16:30 ` Eric S Fraga
2017-10-04 12:47 ` Eric S Fraga
2017-10-05 14:39 ` Nicolas Goaziou
2017-10-05 16:04 ` Peter Davis
2017-10-02 15:12 ` Nick Dokos
2017-10-02 15:40 ` Eric S Fraga
2017-10-02 11:22 ` Robert Horn
2017-10-02 11:29 ` Peter Davis
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=59D13933.7000202@free.fr \
--to=tbanelwebmin@free.fr \
--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.