4
votes
1answer
73 views

Stack figures in horizontal plane in 3D rectangular shape without loss of quality

I am plotting figures on GMT but it does not support some features in gridview. So I want stack each figure on different platforms below each other. E.g. I want to add each image like the following
0
votes
0answers
44 views

PGFPLOT Externalization not working

I am trying to externalize PGF Plot to be saved as EPS file using latex and enabled shell-escape. \documentclass[a4paper]{article} \usepackage{lipsum} \usepackage{tikz} ...
4
votes
3answers
121 views

Positioning pgfplots axis in tikzpicture

I want to put a pgfplots plot beside several other pdf images that I import into my document, but I can't figure out how to position the pgfplots axis in the larger tikzpicture: ...
1
vote
2answers
125 views

Inserting graphics into asymptote or pgfplots

How another graphics can be inserted into Asymptote or pgfplots? The following is a MWE in pgfplots that creates three figures in the document. The main figure which I want to insert graphics in is a ...
2
votes
1answer
25 views

Import tex graphics to my main tex document

I want to create various plots with tikz package. I don't want to have the code for the plots in my main tex document because it's pretty messy. Is there a way to keep the tex code to different ...
5
votes
1answer
179 views

Pie chart slice with pattern background

I was able to create a pie chart based on the answer in How to draw Bar & Pie Chart. I realized my document is printed in grayscale and learned about patterns (Where is the pattern list gallery ...
28
votes
2answers
709 views

How to plot a lattice of points on the surface of a torus?

I am doing a report on the Ising model, without going into the complex details of the model, in its two-dimensional form it involves a lattice of points. Which, when periodic boundary conditions ...
2
votes
0answers
59 views

combine png and tikz, scalingproblem [duplicate]

due to the huge amount of data in my plot I wasn't able to compile the whole badboy at once after creating a tikz file and then using latex. Since the save_size won't go higher than 80000. so while ...
7
votes
0answers
127 views

How to create vertical Bullet Graphs with PSTricks? [duplicate]

I was looking for a package to create bullet gauge graphs, but I couldn't find any. A good person in this forum show me how he would make it in TikZ, with a little options. I was waiting any moths ...
5
votes
1answer
123 views

Kiviat Diagram with scale always aligned to first axis

I'm using Kiviat Diagram to draw graphs, sample code for same is mentioned below: \begin{center} \psframebox*[fillcolor=white]{ \begin{pspicture}(-6,-5)(5,5) \psset{unit=1.2} ...
7
votes
2answers
290 views

Setting the unit vector ratio gives a '! Dimension too large' error

I have a Delaunay-triangulated surface generated in MATLAB, which I would prefer to render in tikz. I use Nico Schlömer's matlab2tikz script to generate the standalone tex file. The MATLAB result ...
7
votes
1answer
230 views

pgfplots: 2d graphics in 3d axis environment

I would like to stack several external 2d plots into a 3d axis environment like the orange and green planes in my example. As the 2d plots are created externally, I am looking for a way to rotate and ...
5
votes
2answers
150 views

Color legend in Y axis

I have the following multiple y-axis plot that results in the image on the top image. However, I want to add a sort of legend in each of the Y axis, similar to what I manually drew in the bottom ...
5
votes
1answer
663 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} ...
4
votes
1answer
149 views

Enlarge graphic axis

I have a function ploted with pgfplots: \documentclass{standalone} \usepackage{pgfplots} \usepackage{helvet} \usepackage{sansmath} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel=$X$, ...
1
vote
1answer
113 views

Scale only dataset read from file without scaling whole graphics

I have datasets which vary strong in range. So i want to scale my dataset to adjust it to my template, so that the grids, axes and so on are identical with the neighbour-subfigures. What is the ...
0
votes
0answers
34 views

Tikz/Pgf plot with watermark standard deviation [duplicate]

I'd like to plot the standard deviation of a certain curve in tikz/pgfplot, on a point by point basis. Is it possible? I would like to draw it as a thicker plot behind the main curve, in a ...
3
votes
1answer
65 views

Too much transparancy in pgfplots

I try to embed pngs including transparancy into pgfplots. The problem is, that the transparancy is only around the main object of the png. However, as demonstrated by the MWE, it seems also to affect ...
7
votes
1answer
222 views

Included image messes up pdf but why?

For some reason including a working colorplot image into a new document via \includegraphics seems to modify the image. Is there any workaround to this problem? My MWE looks harmless: ...
3
votes
1answer
381 views

Addplot3 with graphics / Image Offset to Axis

I'm currently working with tikz and pgfplots to set a few plots. It works marvelously for a lot of applications, add I have set a number of plots (especially surfaces from matlab) with help of the ...
9
votes
1answer
769 views

How to Graph Floor/Ceiling Functions in LaTeX (PGFPlots)

I am trying to make a graph of some floor/ceiling functions for examplep the floor of 3x+2 like this: http://www.wolframalpha.com/input/?i=graph+of+floor%283x%2B2%29#=. However, I searched through ...
12
votes
5answers
668 views

Create image from statistical data automatically

I am looking for a way to automatically create images like the one below: There is no MWE because all I have, for now, is this image (created, I believe, by SPSS, but I have nothing to do with that ...
1
vote
0answers
89 views

Import external eps into pgfplot [closed]

I have some flow image files in .eps format which I would like to import in pgfplots. What is the practical way to do so?
10
votes
1answer
632 views

Creating Bezier surfaces using procedural graphics

Are there any package for LaTeX that can create Bezier surfaces? I mean a actual existing function that takes matrices as arguments and generates the surface, not a function written by myself.
3
votes
1answer
83 views

One pgfplot per page in single PDF file

I'd like to reduce my redundancy when making plots with pgfplots. I want to have a single PDF file, such that I can include them on a per-page basis with graphicx. The multi class option for the ...
3
votes
1answer
254 views

set domain in pgfplots

I created this graph. The graph is shown correctly but I need the range on the y-axis to be from 10e-8 to 1. I would also like a grid. I'm a newbie with the pgfplots package. \begin{figure}[htp] ...
4
votes
1answer
434 views

Move legend closer

I wish to move the legend for the left chart closer to the graph, and for the right graph, I wish to let the x-axis and y-axis appeared just like the left graph (so that there is some extra spaces to ...
5
votes
2answers
285 views

How to plot the graph below?

May I know how to draw the graph as shown below? below is a code I have try but with look and feel that is quite far away from the example: \begin{tikzpicture} \begin{axis}[ legend pos=north ...
6
votes
1answer
369 views

Problem with external graphics and 3D pgfplots

I want to include an external graphics with pgfplots. I tried to follow the instructions of the manual (p45 et seq.) as carefully as possible. But the result is hoorible as hell. Here is the code I ...
5
votes
1answer
372 views

How can I add color AND a node label to a scatter plot?

I'd like to produce a scatter plot from a data file. The data file could look like this: x y color myvalue 0.5 0.2 1 test 0.2 0.1 2 uniform I'd like to ...
44
votes
4answers
4k views

3-dimensional histogram in pgfplots

I have a simple 3d histogram which I want to import into pgfplots, e.g. using matlab2tikz or by hand. PGFplots does not offer 3d histograms. Is there an easy way to do this?
2
votes
1answer
270 views

Cobweb diagram has offset iterates / modifying a working piecewise functions results in chaos

I have a problem with the following tikz code (maybe, when reading this, skip at first the code and read the question which is at the end), that creates cobweb-diagrams: \documentclass{article} ...
4
votes
0answers
545 views

Creating a colored bar chart using MetaPost or pgfplots [closed]

Right now I have this: input graph input sarith beginfig(1) draw begingraph(3cm,2cm) gdata("data1.d", v, path p; augment p (v1,0); augment p (v1,v2); augment p (v1 Sadd ...
4
votes
1answer
2k views

Problem using matlab2tikz

I'm trying to get matlab2tikz to work. I want to use it for prettyfying output of Matlab's image() command. In Matlab I tried imagesc(rand(100)); xlabel('X'); ylabel('Y'); title('Random Colors'); ...
13
votes
2answers
3k views

Image with axis

I need to plot some data in a file (10000 records of 2 points each one) but PGFPlots is very very slow rendering it. So I'm trying to use MatLab to plot the data, capture the image without axis and in ...
15
votes
1answer
1k views

Surface of Revolution

how to draw using surface of revolution tikz or pgfplots? \documentclass{article} \usepackage{tikz,pgfplots} \begin{document} \begin{tikzpicture} \end{tikzpicture} \end{document} I am not able to ...
6
votes
1answer
1k views

error bar colors in scatter plot

A data file contains four columns: x, y, error on y, class. class is an integer which I feed to scatter src so i get a graph that has different colors for different classes. However, the error bars ...
15
votes
1answer
2k views

PGFplot Axis Labels Detaching From Graph

Update: Aug 04, 2013 With the current version of TeXLive 2013, the second MWE below still exhibits the same behavior if the \todo[inline] is commented out after the first run. Furthermore, the ...
48
votes
5answers
14k views

How to expand TeX's “main memory size”? (pgfplots memory overload)

I'm compiling one pretty simple LaTeX file with few dozen of pgfplots. Now, I can compile part by part, but am unable to compile it all at once. I really need good precision for all those plots (noise ...
10
votes
1answer
2k views

Is it possible to create overlays in beamer inside pgfplots graphics?

When working with pgf-tikz, I can create overlays in beamer presentations with \path<overlay specification> ... However, I could not get this to work in pgfplots graphics. It would be nice ...
11
votes
3answers
4k views

Using LaTeX to draw time series graphs and histograms

I have some graphs I drew in maple, some simple line plots and histograms. Now I'd like to redraw these graphs in LaTeX, so I can do fancy stuff in beamer like have one histogram appear, and then ...