Skip to main content

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}.

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
56 views

Automatically integreate min/max/mean values from a table into the text

suppose I have the following table. Is it now possible to automatically determine values such as Min/Max/Mean from the respective columns and integrate them into a continuous text? The text should ...
mingabua's user avatar
0 votes
0 answers
19 views

Splitting lines on comma in pgfplotstable

I use pgfplotstable like this: \pgfplotstableset{ every even row/.style={ before row={\rowcolor[gray]{0.9}}}, every head row/.style={ before row={\hline \rowcolor[gray]{0.7}}, after row=\hline }, ...
Nicolas Goy's user avatar
0 votes
0 answers
32 views

Contour gnuplot from data in external file

I'd like to create a contour plot of data stored in the file "test.dat". There should be one continously shaded contour plot and then I'd like to "highlight" some contour lines ...
Phil_B's user avatar
  • 1
0 votes
1 answer
34 views

I would like to know how can I correct the mistakes in this plot

I need some help to correct my plot in Latex (overleaf). as you can see int eh photo attached I was not able to move the left Ylable more to the left. I addition the legend are overlapping. I would ...
Yogan Felipe Sganzerla's user avatar
1 vote
1 answer
48 views

Shade between x-values given in an external file - pgfplots

I'd like to achieve the following plot: \documentclass[a4paper]{article} \usepackage{pgfplots} \pgfplotsset{compat=1.17} \begin{document} \begin{filecontents}{data.txt} start,end 1,23 51,69 106,165 ...
cedi123's user avatar
  • 53
0 votes
1 answer
119 views

What will be the overleaf code for this table

[![Estimated effects of ribavirin compared with no treatment on mortality outcomes from studies][1]][1] This is cation of table This is table link [1]: https://www.ncbi.nlm.nih.gov/pmc/articles/...
Maryam's user avatar
  • 53
0 votes
1 answer
35 views

Create static variable inside of \pgfplotstableset definition

I try to understand, how to create a variable inside or outside of the \pgfplotstableset environement which is static and will not be resetted all the time. Probably this is a generic question for ...
PascalS's user avatar
  • 750
2 votes
1 answer
14 views

Changing font of first column in table using pgfplotstabletypeset

Using pgfplotstabletypeset, I would like to specify that every entry in the first column be typeset using \bfseries\sffamily\small, but I'm not sure how to do so. I attach a MWE. \documentclass{...
tgkolda's user avatar
  • 758
1 vote
1 answer
43 views

Restrict domain of plots with data coming from different files

I would like to plot some data where the x axis values come from one file and the y axis values come from another file. However, I also want to restrict the domain of the plotted data. For example, ...
Meclassic's user avatar
  • 1,827
1 vote
1 answer
32 views

pgfplots plot difference between columns of table gives wrong results

This code compiles fine, but gives wrong results: \documentclass{article} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{compat=newest} \begin{filecontents*}{data.csv} 1,2,5 2,4,6 3,5,8 4,7,10 5,8,...
Simon's user avatar
  • 325
1 vote
0 answers
25 views

Formatting Specific Rows/Columns/Entries in pgfplotstable

I have an external program to compute several tables that I will then place in TeX (separately) using pgfplotstable. The table will have possibly a dozen columns and hundreds of rows with various ...
mathematics2x2life's user avatar
2 votes
1 answer
53 views

Fill area under curve points

So, I have this code and I need to fill area under curve points. How can I do that? a) First, I need to fill area under curve points from x = 1 to x = 5 b) I need to complete fill area. Thanks. \...
Pedro Salgado's user avatar
0 votes
0 answers
12 views

pgfplotstable: compute averages of columns

\documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotstableset{ create on use/mean/.style args={#1#2#3}{ create col/expr={(\thisrowno{#1} + \thisrowno{#2} + \...
Simon's user avatar
  • 325
2 votes
1 answer
79 views

Distinguish between multicolumn and single column based on the cell content in pgfplotstable [duplicate]

I have a .csv file like this: \begin{filecontents}{data.csv} type,Description,Value typA,Description0,Value0 typA,Description1,Value1 typB,Description2,Value2 typA,Description3,Value3 \end{...
PascalS's user avatar
  • 750

15 30 50 per page
1
2 3 4 5
77