* HTML output of gnuplot pic @ 2017-10-14 16:21 Lawrence Bottorff 2017-10-14 17:30 ` Nicolas Goaziou 0 siblings, 1 reply; 5+ messages in thread From: Lawrence Bottorff @ 2017-10-14 16:21 UTC (permalink / raw) To: emacs-orgmode Mailinglist [-- Attachment #1: Type: text/plain, Size: 793 bytes --] I'm playing with the tutorial for babel-gnuplot <http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html> , however I keep getting this upon C-c C-c: #+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]] Many different :results attempts keep giving me #+RESULTS: [[file:images/test1.png]] . . . which doesn't export to HTML. Of course removing #+RESULTS: and the image displays. How can I get results without the #+RESULTS: label above, which HTML export doesn't like? LB [-- Attachment #2: Type: text/html, Size: 1272 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HTML output of gnuplot pic 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 0 siblings, 1 reply; 5+ messages in thread From: Nicolas Goaziou @ 2017-10-14 17:30 UTC (permalink / raw) To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist Hello, Lawrence Bottorff <borgauf@gmail.com> writes: > I'm playing with the tutorial for babel-gnuplot > <http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html> , > however I keep getting this upon C-c C-c: > > #+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]] > > Many different :results attempts keep giving me > > #+RESULTS: > [[file:images/test1.png]] > > . . . which doesn't export to HTML. Why? I have no trouble exporting to HTML this document. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HTML output of gnuplot pic 2017-10-14 17:30 ` Nicolas Goaziou @ 2017-10-14 17:48 ` Lawrence Bottorff 2017-10-14 17:58 ` Nicolas Goaziou 0 siblings, 1 reply; 5+ messages in thread From: Lawrence Bottorff @ 2017-10-14 17:48 UTC (permalink / raw) To: emacs-orgmode Mailinglist [-- Attachment #1: Type: text/plain, Size: 1968 bytes --] 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: . . . <div class="figure"> <p><img src="images/test1.png" alt="test1.png" /> </p> </div> On Sat, Oct 14, 2017 at 1:30 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Hello, > > Lawrence Bottorff <borgauf@gmail.com> writes: > > > I'm playing with the tutorial for babel-gnuplot > > <http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html> > , > > however I keep getting this upon C-c C-c: > > > > #+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]] > > > > Many different :results attempts keep giving me > > > > #+RESULTS: > > [[file:images/test1.png]] > > > > . . . which doesn't export to HTML. > > Why? I have no trouble exporting to HTML this document. > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #2: Type: text/html, Size: 3451 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HTML output of gnuplot pic 2017-10-14 17:48 ` Lawrence Bottorff @ 2017-10-14 17:58 ` Nicolas Goaziou 2017-10-14 18:03 ` Lawrence Bottorff 0 siblings, 1 reply; 5+ messages in thread From: Nicolas Goaziou @ 2017-10-14 17:58 UTC (permalink / raw) To: Lawrence Bottorff; +Cc: emacs-orgmode Mailinglist 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, ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HTML output of gnuplot pic 2017-10-14 17:58 ` Nicolas Goaziou @ 2017-10-14 18:03 ` Lawrence Bottorff 0 siblings, 0 replies; 5+ messages in thread From: Lawrence Bottorff @ 2017-10-14 18:03 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: emacs-orgmode Mailinglist [-- 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 --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-10-14 18:03 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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
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.