2
votes
0answers
62 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 ...
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
174 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 ...
7
votes
3answers
213 views

pgfplots: 3D surface plot from data with free format

I want to plot 3D data from a file (data file) using pgfplots. The data represents an ellipsoid. I want to draw the outer shell like in the following picture, just without the background and in ...
2
votes
1answer
84 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} % ...
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 ...
2
votes
1answer
250 views

Label functions generated with gnuplot in pgfplots

I would like to generate four hyperbolas in the plane and label them. I'm using the following code (sorry for its length, feel free to shorten it...): \documentclass{standalone} \usepackage{pgfplots} ...
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 ...
1
vote
1answer
204 views

datetime plot in pgfplot using gnuplot

I have a large data file with several columns wherein the first column is a date and time in the format, 'yyyy-mm-dd hh:MM' and the rest are numerical values of different variables. I often have ...
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! ...
9
votes
2answers
484 views

plot 3d graphs of functions defined implicitly

How can I plot 3d graphs of functions defined implicitly (quadratic forms, for Linear Algebra course notes -- I'd like to include lots of examples)? As far as I can see it is not possible with ...
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
270 views

Setting gnuplot-like colormaps with pgfplots

I would to use the gnuplot default colormap with pgfplots. This colormap is defined in gnuplot with set palette rgb 7,5,15 where the numbers refer to a function for the red, green and blue colours ...
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
219 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 ...
14
votes
2answers
588 views

Fill a contour-plot

I did some calculations in Mathematica that gave me a contour plot: To include the output I wanted to however draw it with pfgplot. But there I don't get it to work, first of all the y-axis doesn't ...
10
votes
2answers
964 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
723 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 ...
6
votes
2answers
558 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
762 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
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
789 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 ...
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: ...
5
votes
2answers
541 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 ...
5
votes
1answer
368 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 ...
7
votes
3answers
2k 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 ...
3
votes
0answers
188 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: ...
5
votes
1answer
219 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 ...
5
votes
1answer
167 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 ...
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 ...
5
votes
1answer
241 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
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 ...
5
votes
1answer
559 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 ...
6
votes
1answer
598 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 ...
3
votes
0answers
455 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 ...
7
votes
1answer
982 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 % ...
4
votes
0answers
717 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 ...
4
votes
1answer
880 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 ...
4
votes
3answers
732 views

Incorrect plot with pgfplots and gnuplot

I'm attempting to plot atanh(x) although there seems to be a giant straight line linking the top and bottom points. Am I doing something wrong? \documentclass{standalone} \usepackage{pgfplots} ...
8
votes
2answers
1k views

pgfplots: post-processing data created with gnuplot

I have managed to use pgfplots' gnuplot option to solve an implicit equation: \documentclass{standalone} \usepackage{tikz,pgfplots} \begin{document} \begin{tikzpicture} \begin{loglogaxis}[ ...
10
votes
1answer
1k views

Consistently specify a Function and use it for computation and plotting

I would like to be able to specify a mathematical function and be able to use that for multiple purposes including: Computation of values (see bullet points below) Graphing using pgfplot Graphing ...
1
vote
1answer
614 views

Consistently specify function to be graphed with or without gnuplot

I would like to be able to specify a function and then graph that with with pgfplot only, or use gnuplot to compute the coordinates. As far as I know there are two main differences in how the ...
6
votes
1answer
775 views

Consistent Pgfplot Labels Positions with/without Gnuplot

I like that I can place a node at the end of plot and the node appears relative to the last point on the graph. When the domain is specified in increasing order \DomainMin:\DomainMax, the label gets ...