Tagged Questions

{gnuplot} Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OS X, VMS, and many other platforms.

learn more… | top users | synonyms

5
votes
1answer
888 views

Quality loss at adding images to a LaTeX file

I have a LaTeX file (compiled with pdflatex) with some images in pdf added via the \includegraphics command. The problem is that the images are really big (up to 10MB) and the output file is too large ...
5
votes
2answers
836 views

How can I plot bigger amounts of data?

I am currently playing around with hailstone sequences (collatz numbers). I would like to create a plot like this (from Wikipedia): But I don't know how this kind of plot is called (it's neither a ...
6
votes
1answer
1k views

TeXmaker and gnuplot compiling issue

I just received a new macbook OS 10.8 Mountain Lion and I have installed TeXmaker, MacTex, MacPorts and gnuplot. I compiled a LateX file that uses TikZ and gnuplot and got the following error in the ...
5
votes
1answer
495 views

pgfplots with gnuplot

I got a problem with latex implementing a gnuplot code. I use PdfLatex with argument "--enable-write18". The following code should works with the first commented-out line %plot 'data.dat' u 1:2;, but ...
2
votes
1answer
282 views

Gnuplottex fails with 'undefined control sequence' when choosing different font size [duplicate]

I encounter a very strange problem when using gnuplottex on my Win 7 32 bit system with MiKTeX 2.9 - gnuplot 4.6.3 & the latest gnuplottex release: \documentclass[dvips]{minimal} ...
7
votes
3answers
3k views

Easiest way to plot matrix image

Is there an easier way to create this in pgfplots than plotting the matrix image externally and using addplot graphics (as on p.42 of the pgfplots manual)? A mesh plot (as suggested for plotting ...
4
votes
0answers
249 views

Using pgfplots and gnuplot and compiling with output-directory

I would like to use the pgfplots package along with gnuplot. However, I cannot get this to work if I compile using the -output-directory option. For example, if I have the following MWE: ...
1
vote
2answers
724 views

epslatex: relative path issue

Please, how one could directly include epslatex graphics into main latex file, say main.tex? main.tex has its own template provided by a third party. I used this command within main.tex file to ...
6
votes
2answers
878 views

pgfplotstable: read gnuplot generated table and typeset

I am new to pgfplotstable, I am trying to read gnuplot exported table in pgfplotstable. gnuplot script: set samples 91 set table "file.dat" set angles degrees plot [0:90] sin(x),cos(x),tan(x); ...
6
votes
1answer
507 views

gnuplottex and lualatex

EDIT: This question covers a bug in gnuplottex which will be fixed in TeXLive 2013.If you still want to have the bug fixed, download the latest upstream version from CTAN and compile it yourself. ...
5
votes
1answer
305 views

How to plot small function values in pgfplots?

I am trying to visualize two functions in pgfplots and I can't get my main message across that both end at the same point. How can I change this behaviour, preferably without additional external ...
10
votes
1answer
2k views

gnuplot in LaTeX, without gnuplottex

I'm using the cairolatex terminal in gnuplot to create some surface plots (pgfplots is failing the task because of its hunger for memory). As the number of plots increase, I would like to include the ...
4
votes
1answer
141 views

How do I modify the gnuplottex.sty file to write a hash character (#) into the plot file?

I have problems with adapting a .sty file for my needs. The problems are caused by the special meaning of the hash character # in tex (and also my ineptitude). To the problem: An unmodified ...
3
votes
1answer
66 views

Change name of generated “myfile_contourtmp0.table”

In a PGF axis environment, I am using \addplot3[contour gnuplot={number=20}]{30-0.1*(x*x)-0.05*(y*y)}; This command uses gnuplot to generate the file myfile_contourtmp0.table. My question is: How ...
5
votes
1answer
193 views

pgfplots: Read expression from file

For my lab reports I often have to do complex fitting and transformations to my data (like fitting cauchy distributions or FFT). Fitting with gnuplot sometimes fails and including it directly in the ...
0
votes
1answer
271 views

gnuplot, ubuntu 12.10, kile, texlive2012 [closed]

How can I download and install gnuplot for ubuntu 12.10? I can't find it on the software center or in repositories. Maybe I am not calling it right.
2
votes
1answer
1k views

gnuplot and TexnicCenter setup

I just downloaded and ran the gnuplot setup exe. Now, how do I setup TeXnicCenter and gnuplot so I can use gnuplot with TikZ? So I have been able to add --enable-write18 but the inverted cycloid ...
2
votes
1answer
277 views

bodegraph package just display grids but not curves

I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: bodegraph on Ubuntu 10.04. ...
0
votes
2answers
1k views

How to use Gnuplots .eps and .tex files at all with pdflatex

I tried to make a plot with data from a .txt file. The part with gnuplot works, but bringing the diagramm to Latex is frustrating. That's what I do: -- GNUPLOT -- set terminal epslatex size ...
2
votes
0answers
172 views

Missing characters in gnuplot generated eps while compiling pdf [closed]

tTis has bug me for a few days: when I import a gnuplot generated eps into my LaTeX file, the characters are always missing. The number and text with in the figure is not complete, for example, it ...
1
vote
1answer
301 views

gnuplot, plot rotation arrows

Recently I have been using gnuplot to plot position data over time. In my datafile, I have time,positional (2D) information, and directional information (in the form of degrees, 0-360). I have nice ...
5
votes
1answer
313 views

How to plot just part of the function with pgfplots, gnuplot

I have the following code. \begin{tikzpicture} \begin{axis}[domain = -2:2 ,y domain = -2:2,view={0}{90}] \addplot3[contour gnuplot={number=10},thick,domain=-2:2] ...
2
votes
1answer
429 views

error while using gnuplot in pgfplots

I am using pgfplots and tikz library for generating some figures. my problem is that I can not use gnuplot within pgfplots. I tried to compile the following code bu seemingly the gnuplot is not ...
3
votes
1answer
837 views

How to run gnuplot/latex from inside texshop?

I was able to write a piece of code that drew a graph in gnuplot and then using tikz embedded that into my TeX document and run it via Texshop. I am not able to do that anymore. I need to run ...
5
votes
2answers
793 views

Merge two TikZ pictures into one

Is it possible to merge two existing TikZ pictures into one? I have two pictures of this type and want to set them beneath each other in one tikzpicture environment (and adding some arrows between ...
1
vote
1answer
193 views

Why am I having such problems getting latex notation in my gnu plots?

I have tried setting the terminal to just about everything under the sun. I got it to read my latex notation for a brief compile and then it decided it didn't want to anymore again. The error that I ...
1
vote
1answer
1k views

Resize epslatex (gnuplot) graphics for Beamer slides

I have created some graphics in gnuplot using set terminal epslatex color and I rather liked them in my paper. However, once I tried to put them into Latex Beamer slides the way I put them into my ...
2
votes
0answers
581 views

ps2pdf produces unreadable text with gnuplot epslatex terminal [closed]

I'm using the gnuplot epslatex terminal to generate LaTeX files which I then convert to .pdf files using latex→dvips→ps2pdf. The .ps file produced by dvips is fine (the first image). However, once I ...
4
votes
2answers
2k views

Install Gnuplot on Mac OS-X 10.8.2 for use with 'tkz-fct' package

I have recently discovered the TikZ packages for LaTeX: http://altermundus.com/pages/tkz/index.html I have run the examples for tkz-euclide with success. I would also like to use the tkz-fct ...
5
votes
1answer
755 views

pgfplots contour example error

I'm reproducing the following example from pgfplots manual. \begin{tikzpicture} \begin{axis}[view={0}{90}] \addplot3[contour gnuplot] {x*y}; \end{axis} \end{tikzpicture} But this code produces the ...
4
votes
1answer
842 views

Error with TextMate 2, PATH, --shell-escape and gnuplot in 10.8.2

I reopen this post, which was started some time ago but didn't came with a solution. I don't really remember what was the exact problem with this (well, of course, gnuplot didn't work correctly). So I ...
5
votes
2answers
710 views

Help with installing gnuplot in MacTex and using it with LaTeX

I have to draw a lot of PDF and CDF graphs in my document/presentation and in order to do that I installed gnuplot. In order to install gnuplot I took the following steps: 1- Download the sources ...
3
votes
1answer
416 views

Gnuplot's tikz terminal produces uncompilable code

I would like to use the gnuplot's tikz terminal to create good looking graphs in pdf format. However, I have trouble compiling the resulting .tex file. My plot.gp file looks like: clear reset set ...
0
votes
1answer
220 views

How to add additional space for the last group of bars in gnuplot?

I used this: plot 'dat' u 2:xtic(1) t 'pca-10', \ 'dat' u 3 t 'pca-20', \ 'dat' u 4 t 'pca-30', \ 'dat' u 4 t 'pca-30' my data is: antlr 0.9424 0.9363 0.7754 0.7506 bloat ...
6
votes
1answer
690 views

Improve pfgplots precision with gnuplot

I have measured the execution time of two algorithms (a naive, and an optimized one), and I would like to display measured data with pgfplots plus a trend line for the naive algorithm. I have used ...
0
votes
1answer
144 views

Use cite in gnuplottex key

I am using the gnuplottex package to create plots with gnuplot from inline gnuplot code in my LaTeX documents. I am using pdflatex directly to get PDFs. I would like to be able to use the \cite ...
10
votes
1answer
3k views

GNUplot and LaTeX (linestyles)

I've just started using GNUplot to create graphs. I've been using the epslatex terminal and my issue is, when I create my graph in the wxt terminal, and then replot it in the epslatex terminal, the ...
3
votes
0answers
546 views

multiple non linear curve fitting using pgfplot for IC50 [closed]

My question is related with Non-linear curve fitting with gnuplot .I want to make multi IC50 using that plot which give result red, green and blue line, but only blue line appeared. this is MWE ...
9
votes
3answers
7k views

How to graph a function using TikZ?

I want to plot this function with a big range says, (-10,000:10,000), unfortunately I couldn't figure out how to set the domain, or xrange correctly to scale the graph nicely. This is what I have so ...
8
votes
1answer
1k views

gnuplot calculated curve shifts to the left

The following code samples are borrowed from Test 1 and Test 2. My computer configuration is Windows XP SP.3 Japanese version, MiKTeX 2.9 (already updated), TeXmaker 3.5 or TexStudio 2.4 and ...
3
votes
2answers
2k views

IC50 with curve fit line and value of IC50 appear on the graph using pgfplot

Please help me to make IC50 graph with data as follow S(mM) Activity (%) 0.00080 99 % 0.00800 91 % 0.08000 89 % 0.40000 89 % 0.80000 79 % 1.60000 61 % 4.00000 39 % 8.00000 25 % 80.00000 4 % ...
1
vote
2answers
379 views

Generate plot with embedded tools useable externally

I use a both latex and M$ Word for my technical reports, depending on the person I have to deliver it. To generate my plot, I love using the tikz2pdf script given by Hans Meine but as far as it ...
9
votes
3answers
1k views

How to use GNU Plot to plot diagrams in TexShop

hope anyone can help with this... I have a very basic knowledge of TeXShop, but I need to plot some functions on it, say y=x. I learnt that this can be done by installing GNU Plot and writing in ...
1
vote
1answer
5k views

line styles not applied in gnuplot (epslatex)

Hello i would like to draw 2 curves in a same plot using gnuplot (epslatex terminal). I am using a gnuplot script, which works just fine, except it doesn't apply line colors defined using command set ...
0
votes
1answer
5k views

Gnuplot with epslatex terminal [duplicate]

Possible Duplicate: Gnuplot subdirectory not found using epstopdf Hello i have been folowing a procedure to insert a high quality graph into my document using gnuplot 4.6. This is what i ...
1
vote
1answer
145 views

Long title runs off page

I'm making a graph in using gnuplot and have converted the eps to pdf, so I have .tex file and pdf file. Usual they are great except this time the title in the title runs off the page, the title is a ...
2
votes
1answer
755 views

Spacing of key entries in gnuplot using epslatex

When using the epslatex terminal, I always have to use the width command as well as \hspace to get the LaTeX generated key labels properly aligned. Is there any way of getting this to work ...
5
votes
0answers
860 views

pgfplot vs gnuplot [closed]

I am writing a document containing many plots. I have used gnuplot in the past and I love it. It's powerful and you can do anything you want. But when I import a graph generated from gnuplot, the ...
5
votes
2answers
5k views

Good quality images in pdflatex

Generally I include images in my latex document by the command \includegraphics[scale=0.5]{image.png} However, after doing pdflatex the image quality is always very poor in the resulting pdf file. ...
4
votes
1answer
1k views

label curve and/or contour name created with pgfplot via gnuplot

I will want to name different contour as one can see it on topographic card. How to do that? I want label on different curve with the parameter that distinguish the curves. I have created 10+10 curves ...