Questions tagged [pgfplotstable]
{pgfplotstable} is a package that can read, parse, modify or generate tables. Data is provided via either external files or inline code. It also serves as the data handler of the graphics package {pgfplots}.
1,179 questions
3 votes
1 answer
65 views
Why makecell and pgfplotstable cobination works when is used old version of `siunitx` ([=v2]) works but with new version ([=v3]) not?
For collecting of some measured data I use the following MWE: \documentclass[12pt]{article} \usepackage[margin=20mm]{geometry} \usepackage{booktabs, makecell, longtable} \usepackage{siunitx}[=v2] % ...
2 votes
2 answers
84 views
Loop over pgfplotstable rows and axis, or any other method
I would like to create a graphic that does what this file is doing,but without going through each individual line \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \begin{...
0 votes
0 answers
75 views
How do I prevent "see-through" when overlaying a surf plot with a point cloud?
I am trying to create a surf plot with an additional point cloud on top. The data for both is saved in two different tables, which are then read and plottet into the same axis environment. Currently I ...
3 votes
0 answers
72 views
Recreating pst-geo package [duplicate]
When I was doing a school project, I wanted to add a map to the document using pst-geo, but when I compiled, I only got errors. So I had the idea of recreating the pst-geo package using Tikz. But I ...
3 votes
2 answers
65 views
pgfplotstable interprets datum as number
I'm trying to display a table from a .csv in LaTeX with the pgfplotstable package. For some reason it tries to interpret a datum as number. In my code I have: \documentclass[a4paper,12pt]{article} \...
1 vote
1 answer
59 views
Implement pgfplotstable with longtable
I am making use of the wisdom of contributions from here. However, I need to have a table over multiple pages due to amount of rows/data. How might one go about adding longtable to the following ...
0 votes
0 answers
81 views
pgfplotstabletypset from csv file containing mixed numbers and strings
Updated Code: I've tried very hard to follow the example of Read table from file with mixed strings and numbers , but I struggle a lot with getting my desired output. I basically have a mixture of ...
2 votes
1 answer
103 views
tikz: Import coordinates from external file
What is the best way to load external data into a tikzpicture? I have a list of comma-separated pairs of values, i.e. coordinates, e.g. (1,1),(1,2),... to use to style cells in a grid. In the image ...
1 vote
1 answer
107 views
Error combining pgfplotstable and longtable in Latex
In Latex, I am using pgfplotstable and longtable to tabulate values from a csv file containing comma-separated values. As seen below, each row contains 8 values separated by commas in the csv file, ...
0 votes
0 answers
49 views
Still unable to colour barplot according to groups using pgfplots
This is in relation to my previous question here:How to colour barplot according to groups in table to which, it was suggested that I refer to another question here: Colors and legend in groupplots/...
3 votes
1 answer
93 views
How to colour barplot according to groups in table
I am trying to make a barplot, but fill according to the Type of the sample. Here is my MWE: Currently, this displays all the bars with red. I want the Animal samples in red and the Plant samples in ...
1 vote
1 answer
85 views
How to generate multiples pages while extracting data from an external file and push it as placeholder inside my document?
\documentclass[10pt]{article} \usepackage{fourier} \usepackage[margin=0cm, paperwidth=8.6cm, paperheight=4.5cm]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel}...
3 votes
2 answers
118 views
Expansion of \pgfplotsretval in node contents inside foreach loop
I want a symbol written above each coordinate, which is taken from a table with a "label" column. At first I wanted to just use \node[above] at (axis cs:\x, \y){\Label} but this causes a not ...
1 vote
1 answer
111 views
Plotting scatter plot using tikz with citations
I am creating a scatter plot. However, I need to add the related citation on each point in the plot. I did that before but manually added every point and citation (Fig1). Now, I am creating three ...
1 vote
0 answers
113 views
How to plot a bar graph of the averages of columns in a CSV file?
I feel like I'm missing something obvious here. I have a CSV file with several columns, each of which has several rows. Each row is a numerical value from 1 to 5. I want to plot a horizontal bar graph ...