emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Suppress table when creating gnuplot on HTML export?
Date: Tue, 27 Feb 2018 21:27:32 -0500	[thread overview]
Message-ID: <CAFAhFSUss=t84_eVPVJjCdvLF50GkfyUU2_CzHW-ob9HstSOXg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

I've got this:

#+tblname: mydata
|     -2 | 0 |
| -0.015 | 0 |
|        |   |
|  0.015 | 1 |
|      2 | 1 |

##+begin_src gnuplot :var data=mydata :exports results :file images/gap1.png
#+begin_src gnuplot :var data=mydata :results output :file images/gap1.png
reset
set terminal png size 350,262
set border linewidth 1.5
# set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 6 ps 1.25 # --- blue
set style line 1 lc rgb '#0060ad' lt 1 lw 2 # --- blue
set data missing

unset key

set ytics 1
set tics scale 0.75

set xrange [-2:2]
set yrange [-0.5:1.5]
set xzeroaxis linetype 2 linewidth 1
set yzeroaxis linetype 2 linewidth 1
set tics scale 0.75
set xtics 1
set ytics 0.5

# Defining a step function
#s(x) = x<0 ? 0.0 : 1.0

plot data with lines ls 1
#+end_src

which works fine producing exactly the image I want. However, I don't
really need the table showing up on an export (to html at the moment). Is
there a way to suppress the table `mydata` from being shown?

LB

[-- Attachment #2: Type: text/html, Size: 1472 bytes --]

             reply	other threads:[~2018-02-28  2:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28  2:27 Lawrence Bottorff [this message]
2018-02-28  2:45 ` Suppress table when creating gnuplot on HTML export? John Kitchin

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='CAFAhFSUss=t84_eVPVJjCdvLF50GkfyUU2_CzHW-ob9HstSOXg@mail.gmail.com' \
    --to=borgauf@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 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).