1

I would like to run this program but my output is only the axes themselves! I thought my MiKTeX console updates all softwares for my TeXnicCenter platform but apparently not since when I run this:

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
% use GNUplot (avaiable in TeXLive)
\draw[->] (-4.5,0) -- (4.5,0) node[below] {$x$};
\draw[->] (0,-4.5) -- (0,4.5) node[left] {$y$};

\draw[blue,thick] plot[raw gnuplot,smooth] function {
f(x,y) = x*y*y+2*(x**3)*(y**3)-y-1;
set xrange [-4:4];
set yrange [-4:4];
set view 0,0;
set isosample 500,500;
set cont base;
set cntrparam levels incre 0,0.1,0;
unset surface;
splot f(x,y);
 };
 \node[below=5mm,blue] at (current bounding box.south) 
  {The curve $xy^2+2x^3y^3=y+1$.};
 \end{tikzpicture}
 \end{document}

My Output is without plot:

enter image description here

Please advise my about GNUplot. This is a little confusing. I only found the following download page: https://sourceforge.net/projects/gnuplot/ I get confused with so many files!

closed as off-topic by user36296, Kurt, AndréC, Stefan Pinnow, user31729 Jan 27 at 17:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – user36296, Kurt, Stefan Pinnow, Community
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Although tikz provides gnuplot facilities or uses gnuplot, the installation of gnuplot is not really on-topic on TeX.SE. There is nothing difficult on selecting https://sourceforge.net/projects/gnuplot/files/gnuplot/5.2.6/gp526-win64-mingw_2.exe/download and download and run the self-extracting document. – user31729 Jan 27 at 15:15
  • @Christian Hupfer I see that tikz provides. I did the instruction above but no result in the pdf output. But I was able to run the code on their windows platform but not out put in a pdf in the article documentclass – MathScholar Jan 27 at 15:25
  • Can you run gnuplot from the command line? – Jesse op den Brouw Jan 27 at 15:40
  • Yes I just can not run in my TeXNicCenter editor and output as pdf – MathScholar Jan 27 at 15:42
  • 3
    You have to run pdflatex with the option shell-escape otherwise it is not allowed to run an external program from within a pdflatex run – user2478 Jan 27 at 15:47

Browse other questions tagged or ask your own question.