2
votes
0answers
56 views

using gnuplot to plot data from a file

I am trying to plot some data using pgfplots, but the data are so extensive that the maximum capacity is reached. I get the error: TeX capacity exceeded, sorry [main memory size=3000000]. What can I ...
2
votes
1answer
51 views

Problem importing Octave Plot using TiKZ - pgfkeys Error on gpcolor

I am trying to include a set of Octave generated plots in a report, however I am constantly receiving the same error from pgf about it not recognizing \gpcolor A MWE would be ...
3
votes
2answers
134 views

TikZ, PGFPlots, or GNUplot: plotting a curve without the known function

I would like to make a plot of a function that has an overshoot of 25% and then settles with subtle oscillations at 100%. I would like to create it in one of the listed packages or in gnus case add ...
4
votes
3answers
173 views

pgfplots: Plot inverse function (function of y)

I am trying to plot the Ramberg-Osgood-relationship for a specific material with pgfplots. The relationship describes the stress-strain-curve, that is the stress as a function of the strain. The ...
2
votes
1answer
98 views

PGFPlots and gnuplot: How to add asymptote, a xtick that isn't a number, and can intersection be used?

\documentclass[tikz, convert = false]{standalone} \usepackage[utf8]{inputenx}% http://ctan.org/pkg/inputenx % Euler for math | Palatino for rm | Helvetica for ss | Courier for tt ...
2
votes
1answer
82 views

Force pgfplots to draw legend according to cycle list instead of the first plots

I use pgfplots to plot multiple curves from a file. The graph is plotted in two steps Draw only the marks, taking the original values from the file Draw only the lines, approximating the curve of ...
6
votes
0answers
142 views

Different color

I use the following code to generate a plot \documentclass{article} \usepackage{xcolor} % colorize your documents \usepackage{graphicx} % and use graphics \usepackage{tikz,pgfplots} % ...
1
vote
0answers
47 views

TikZ and Gnuplot: Put all *.gunplot and *.table in a customized folder

My question is an extension from the question "bodegraph on Ubuntu 10.04" Based on the answers of that question, we can either put all generated *.gnuplot in the directory gnuplot/\jobname/, or in ...
17
votes
4answers
595 views

What is the best way to produce TikZ picture for discrete signals?

I would like to draw discrete signals, as shown in the illustration below, but not by way of drawings of individual lines.gnuplot could be used for this work? It would be nice to be able to choose the ...
8
votes
1answer
234 views

Fitting on log log axis

I try to fit data which I plotted on a double logarithmic scale. I use LaTeX and gnuplot. [It works with pdfLaTeX with adding the additional argument "--enable-write18" and directing the path of ...
7
votes
1answer
170 views

What is wrong with this code to plot '(y^2)/2-cos(x)'?

I want to contour plot the curves (y^2)/2-cos(x)=c with the following code, but there are only straight line in the output figure. What's wrong? Any help or suggestions will be appreciated! ...
4
votes
1answer
162 views

output-directory and shell commands

Let's use a small example to use gnuplot to draw a nice function using tikz. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw plot[domain=-3:3,samples=100] ...
2
votes
1answer
132 views

Why do these two plot commands give different results?

Why the following two MWE codes, using pgfplots with and without gnuplot give different results (a phase shift)? \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
3
votes
1answer
153 views

Have gnuplot inherit the domain from pgfplots

I'm using domain=min:max within pgfplots, but unless I provide the same limits to gnuplot explicitly, they are ignored and gnuplot proceeds with plotting in the range [-10,10] (I assume that is the ...
5
votes
1answer
218 views

Line style not updated when using gnuplot within pgfplots

I have a large data file with multiple columns. This makes it impossible for me to add multiple \addplot commands manually, so I am using gnuplot from within pgfplots. The problem is that gnuplot does ...
10
votes
2answers
963 views

Big data surface plots: Call gnuplot from tikz to generate bitmap and include automatically?

Motivation I have large numerical data files, that I would like to create density (surface) plots of. Since they are very big, we can rule out a few possibilities such as to plot them directly with ...
5
votes
1answer
662 views

Automatic binning of histogram using raw gnuplot in pgfplot

I have a problem in plotting a histogram using the raw gnuplot in pgfplot. A minimal example is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
3
votes
1answer
101 views

Gnuplot invisible

I'm trying to plot two implicit curves (using pgfplots and raw gnuplot) but they don't appear in the document. In gnuplot it works just fine so I guess it has something to do with pgfplots but i can't ...
2
votes
1answer
718 views

Enabling “--shell-escape” on TeXworks under MiKTeX

After resolving the problem on my previous question, I applied to finally install Gnuplot 4.6; and after a successful installation I had to allow the --shell-escape option on TeXworks, so I added a ...
5
votes
1answer
207 views

Draw ticks over external plot using pgfplots

I plotted a contour/surface plot with gnuplot using set pm3d map and want to include this picture via \addplot graphics {...};. When I match the plot area of the axis environment with the plot range ...
2
votes
1answer
495 views

Color with gnuplot generated TikZ file not working (other TikZ has color)

I have generated a tikz .tex file from gnuplot and I am attempting to simply \include{mytikzfile} in my main .tex file, which uses the revtex4-1 document class. Upon compiling I get a number of errors ...
6
votes
2answers
557 views

PGFPlots: Mathematical expressions

Question Is there a way to include mathematical expressions in PGFPlots, for example, [domain=1/3:e^5/3]? PGFPlots is fairly useful, however the ability to put mathematical expressions directly into ...
5
votes
1answer
761 views

How can I setup PGFPlots to work with gnuplot?

Notes: I'm using Windows 8 and TeXworks. Also, I have never used gnuplot by itself, so I am unfamiliar with it. I'm trying to use PGFPlots with gnuplot to graph functions. I have not been able to ...
3
votes
0answers
678 views

PGFPlots: Externalizing Images and pdflatex -shell-escape <filename> [closed]

I want to externalize images using the commands: \usepgfplotslibrary{external} \tikzexternalize The PGFPlots Manual says to use pdflatex -shell-escape <filename>. I'm assuming I should type ...
3
votes
1answer
420 views

pgfplots: plotting data with gnuplot

I try to plot a data file (test2) which contains a header and 2 columns. My pdfLaTeX (argument: --enable-write18) gives me not the result I get with executing gnuplot.exe. This is the code: ...
4
votes
2answers
788 views

raw gnuplot in pgfplots

I have a problem with the gnuplot environment in pgfplots. I already set "--enable-write18" in the argument of pdfLaTeX and added the path of gnuplot.exe to the PATH-variable in the advanced system ...
2
votes
1answer
283 views

GNUplot command to produce tex files with 12pt font size?

I am using GNUplot in combination with the TikZ terminal by using the command 'set term TikZ standalone color solid size 3.25in,2.25in'. The first line in .tex file that is produced when running ...
5
votes
1answer
2k views

Using gnuplot in tikzpicture enviroment using pgf-package

I´m trying to use gnuplot in the tikzpicture enviroment with the pgf package. Example \documentclass[paper=a4,12pt,version=last]{scrartcl} \usepackage[miktex]{gnuplottex} \usepackage{pgfplots} ...
6
votes
2answers
424 views

Plot basic complex transformation in LaTeX

I want to first draw a shaded region on a xy-plane: 0≤x 0≤y≤π and then the image of the above region mapped onto a uv-plane by the transformation f=exp(z), i.e. the shaded region: ...
3
votes
1answer
57 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 ...
2
votes
1answer
982 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
203 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. ...
2
votes
1answer
291 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
594 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
516 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 ...
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
2answers
520 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
362 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 ...
8
votes
3answers
5k 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 ...
1
vote
2answers
332 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 ...
4
votes
1answer
879 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 ...
2
votes
2answers
2k views

How to set TikZ figure size and font size to match my doc?

After some configuration nightmare i've managed to print out GNU Octave plots (via gnuplot) to tikz-pgf and display it in my LyX document.. %& -shell-escape -enable-write18 ...
6
votes
1answer
318 views

Problem with gnuplot

[fr] La 1ere figure ci-dessous permet de représenter la conversion analogique numérique avec \NN le nombre de niveaux, réalisée avec le code suivant (il faut autoriser gnuplot). Comme vous pouvez le ...
4
votes
1answer
701 views

TikZ overwrites gnuplot .gnuplot file

I do not know if what I am bringing up is a feature or a bug. I am trying to get a cos x trig plot in degrees generated by gnuplot and plotted by TikZ. My .gnuplot file looks like this: set table ...
0
votes
1answer
870 views

\usepackage{gnuplot-lua-tikz} --> no output at all

I have a simple test document, that stops working if \usepackage{gnuplot-lua-tikz} is included in the preamble. I use TeXnicCenter in conjunction with pdflatex. I wanted to generate a tikz file ...
8
votes
2answers
4k views

adding gnuplot capability to latex

I have been working with LaTeX, under TeXMaker (latest version 3.2.2) for several months, and recently added PGF/TikZ capability. On that occasion I feared there would be problems as I really have ...
17
votes
1answer
1k views

Tikz for large files

I have a question regarding the use of TikZ. I have five large sets of data (15000 points) and I want to use TikZ to plot my data, but obviously the amount of memory isn't sufficient. Can anyone give ...
7
votes
3answers
6k views

Gnuplot Setting the Number of Key Columns

I am having an issue setting the number of key (i.e., legend) columns using Gnuplot with the TiKz terminal. Here's a minimal working example of what I'm talking about: #!/usr/bin/env gnuplot set term ...
8
votes
1answer
794 views

gnuplot true standalone

Finally I have decided to go PDF. I can add pictures without EPS wrapper, and do drawings with TikZ - life is good :o) But how do I use gnuplot? For consistency I would like to use the tikz terminal, ...
7
votes
1answer
648 views

tikz: plot stepped gauss

I need to plot a stepped gauss curve as shown below. Yet I want to do this dynamically (in text) so I can alter it later. I know how to plot a smooth gauss but I really need the stepped one. Also a ...