Skip to main content

Questions tagged [pgfplots]

{pgfplots} is a package for creating 2D and 3D plots of mathematical functions and numerical data, using the PGF graphics framework. For questions about the inbuilt plotting functionality of TikZ/PGF, use {tikz-pgf} instead.

0 votes
0 answers
37 views

PGFplots, tables and multiple paths

I'm trying to use \addplot table to read multiple lines from the same file, but I want to be able to identify them as different paths so that I can apply a decoration on each separately. The result I ...
Antonin Bourgeois's user avatar
0 votes
0 answers
18 views

(pgfplots) How to plot every Nth entry from a large CSV file? [duplicate]

I have a large csv file (20,000 entries) and I am having compiling issues. I figure a good way to solve this is to skip certain entries e.g. plotting only every 100th entry. However I am unsure how to ...
mathematurgist's user avatar
2 votes
1 answer
47 views

pgfplots filled contour with precomputed contour line coordinates

I'm using contour prepared to generate the contour plot as suggested by the manual (shown below). I would like to know the way to plot the filled contour with the precomputed contour line coordinates. ...
ZZZ YYY's user avatar
  • 23
4 votes
1 answer
73 views

PGFPlots library fillbetween causing a bunch of "Missing Character" warnings

When trying to shade the area between 2 paths using the fillbetween pgfplotslibrary, I'm getting the following warnings: Missing character: There is no . in font nullfont! Missing character: There is ...
msom's user avatar
  • 43
0 votes
1 answer
88 views

TikZ-PGF surface edges smoothing

I have this surface I plotted using Latex but the edge is ragged. Anyone knows how to fix that? I tried increasing the number of samples but the raggedness persists and the computing time becomes too ...
frencho's user avatar
0 votes
1 answer
40 views

Center Tikz pictures used as tick labels in Pgfplots

I am trying to use Tikz pictures (piecharts) as x-tick labels in a Pgfplots boxplot and while they appear, I cannot get them properly aligned horizontally, in contrast with normal text labels. \...
Filippo Bistaffa's user avatar
0 votes
1 answer
25 views

Displaying table content within a pgfplot [duplicate]

I've got a table with a binary column named xrayOn. Instead of plotting this, I want to write each xrayOn value (i.e. 0 or 1) at the position (index, 1) in a node. However, in the code below only the ...
luwi's user avatar
  • 13
0 votes
1 answer
33 views

Strange rendering of 3d surface with pgfplots

I'm trying to use pgfplots to plot the following 3d surface (as it comes out of mathematica) but by using the following pgfplot code which contain the exact same equation as the mathematica code \...
Davide Morgante's user avatar
1 vote
0 answers
27 views

Command for concatenation of paths

Consider the following code which draws, in this order, the segment joining (1,4) to (1,2) (path A), a certain hyperbola joining (1,2) to (2,1) (path B), and the segment joining (2,1) to (3,1) (path C)...
Matemáticos Chibchas's user avatar
0 votes
0 answers
50 views

Two dimensional colormaps in TikZ

I have a two-dimensional data on a grid and would want to color the image according to a two-dimensional colormap. What I have in mind is something like this: https://colorstamps.readthedocs.io/en/...
Franz's user avatar
  • 175
2 votes
2 answers
105 views

I cannot get Pgfplots to display all my axis labels

I would like two axes (no graph), both with an axis break at the beginning. The horizontal axis needs to go till 195 and the vertical axis till 80. At the moment, I see the correct values but only the ...
ziadmbaroudi's user avatar
0 votes
1 answer
32 views

groupplot: width and alignment

What do I have to set so that an addplot in a groupplot is as wide as the two bottom ones; and the y-axes lie on a line. \documentclass[tikz, margin=5mm]{standalone} %\documentclass[a4paper]{article} ...
cis's user avatar
  • 8,912
1 vote
1 answer
68 views

Combining `\addplot3` Commands with Separate Colors in PGFPlots

I'm trying to combine all \addplot3 commands into one while maintaining separate colors for different y domains in PGFPlots. Here is the code I have so far: \documentclass[border=3mm]{standalone} \...
mori's user avatar
  • 81
0 votes
0 answers
15 views

pgfplots: shifted axis with set layers

When using set layers to draw several axis on the same set of layers, I get alignment problems. Here's a typical setup where several axes are aligned with respect to each other, using xshift and ...
schtandard's user avatar
  • 15.4k
2 votes
1 answer
68 views

Surface of revolution around x-axis

How is it possible to get this picture in tikz/Latex. Rightnow I have the following code. I want to rotate a function around x-axis. Her is my code. \documentclass[border=1cm]{standalone} \...
Rose White's user avatar

15 30 50 per page
1
2 3 4 5
653