From: Lawrence Bottorff <borgauf@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: HTML output of gnuplot pic
Date: Sat, 14 Oct 2017 14:03:15 -0400 [thread overview]
Message-ID: <CAFAhFSUuSWaVutfCZuZfQOf9d2Qa+X0gvF+oyUDF5cehNgx0_w@mail.gmail.com> (raw)
In-Reply-To: <87r2u51uj7.fsf@nicolasgoaziou.fr>
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
That did it. Thanks.
On Sat, Oct 14, 2017 at 1:58 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Lawrence Bottorff <borgauf@gmail.com> writes:
>
> > I don't get the image displayed -- without manually taking out the
> >
> > #+RESULTS: line. I'm saying
> >
> > #+begin_src gnuplot :exports code :file images/test1.png
> > reset
> > set title "Putting it All Together"
> > set xlabel "X"
> > set xrange [-8:8]
> > set xtics -8,2,8
> > set ylabel "Y"
> > set yrange [-2:70]
> > set ytics -20,10,70
> > f(x) = x**2
> > g(x) = x**3
> > h(x) = 10*sqrt(abs(x))
> > plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3
> > #+end_src
> >
> >
> > #+RESULTS:
> > [[file:images/test1.png]]
> >
> > doesn't display the plot image, while. . .
> >
> > #+begin_src gnuplot :exports code :file images/test1.png
> > reset
> > set title "Putting it All Together"
> > set xlabel "X"
> > set xrange [-8:8]
> > set xtics -8,2,8
> > set ylabel "Y"
> > set yrange [-2:70]
> > set ytics -20,10,70
> > f(x) = x**2
> > g(x) = x**3
> > h(x) = 10*sqrt(abs(x))
> > plot f(x) w lp lw 1, g(x) w p lw 2, h(x) w l lw 3
> > #+end_src
> >
> > [[file:images/test1.png]]
> >
> > . . . does display the plot image:
>
> Try
>
> :exports both
>
> instead of
>
> :exports code
>
> then.
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 2039 bytes --]
prev parent reply other threads:[~2017-10-14 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-14 16:21 HTML output of gnuplot pic Lawrence Bottorff
2017-10-14 17:30 ` Nicolas Goaziou
2017-10-14 17:48 ` Lawrence Bottorff
2017-10-14 17:58 ` Nicolas Goaziou
2017-10-14 18:03 ` Lawrence Bottorff [this message]
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=CAFAhFSUuSWaVutfCZuZfQOf9d2Qa+X0gvF+oyUDF5cehNgx0_w@mail.gmail.com \
--to=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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).