From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Suppress table when creating gnuplot on HTML export? Date: Tue, 27 Feb 2018 21:27:32 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113ace00501b1205663c7c62" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqrSx-0002RC-GE for emacs-orgmode@gnu.org; Tue, 27 Feb 2018 21:27:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqrSw-0004u4-JW for emacs-orgmode@gnu.org; Tue, 27 Feb 2018 21:27:35 -0500 Received: from mail-ot0-x236.google.com ([2607:f8b0:4003:c0f::236]:43622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqrSw-0004tO-Ep for emacs-orgmode@gnu.org; Tue, 27 Feb 2018 21:27:34 -0500 Received: by mail-ot0-x236.google.com with SMTP id m22so869907otf.10 for ; Tue, 27 Feb 2018 18:27:34 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Mailinglist --001a113ace00501b1205663c7c62 Content-Type: text/plain; charset="UTF-8" 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 --001a113ace00501b1205663c7c62 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've got this:

#+tblname: myda= ta=C2=A0
|=C2=A0 =C2=A0 =C2=A0-2 | 0 |
| -0.015 | 0 |
|=C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0|
|=C2=A0 0.0= 15 | 1 |
|=C2=A0 =C2=A0 =C2=A0 2 | 1 |

#= #+begin_src gnuplot :var data=3Dmydata :exports results :file images/gap1.p= ng
#+begin_src gnuplot :var data=3Dmydata :results output :file i= mages/gap1.png
reset
set terminal png size 350,262
set border linewidth 1.5
# set style line 1 lc rgb '#00= 60ad' lt 1 lw 2 pt 6 ps 1.25 # --- blue
set style line 1 lc r= gb '#0060ad' lt 1 lw 2 # --- blue
set data missing
<= div>
unset key

set ytics 1
set tics scale 0.75

set xrange [-2:2]
s= et 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

# Definin= g a step function
#s(x) =3D x<0 ? 0.0 : 1.0=C2=A0
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
--001a113ace00501b1205663c7c62--