From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Lawrence Bottorff <borgauf@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Suppress table when creating gnuplot on HTML export?
Date: Tue, 27 Feb 2018 18:45:54 -0800 [thread overview]
Message-ID: <CAJ51ETrboP3kZkdgd_mJ2doKdocfSc-Kg4x+YUFWkzenttB6pA@mail.gmail.com> (raw)
In-Reply-To: <CAFAhFSUss=t84_eVPVJjCdvLF50GkfyUU2_CzHW-ob9HstSOXg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]
Can you just put the table in a section tagged noexport, e.g.
* data
:noexport:
#+tblname: mydata
| -2 | 0 |
| -0.015 | 0 |
| | |
| 0.015 | 1 |
| 2 | 1 |
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Tue, Feb 27, 2018 at 6:27 PM, Lawrence Bottorff <borgauf@gmail.com>
wrote:
> 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: 2801 bytes --]
prev parent reply other threads:[~2018-02-28 2:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 2:27 Suppress table when creating gnuplot on HTML export? Lawrence Bottorff
2018-02-28 2:45 ` John Kitchin [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=CAJ51ETrboP3kZkdgd_mJ2doKdocfSc-Kg4x+YUFWkzenttB6pA@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=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).