Linked Questions

16
votes
1answer
2k views

Selecting rows to be displayed with pgfplotstable

I have a table, read from a file, and I would like to display only rows which have a specific value in a given column. Here is an ECM: \documentclass{minimal} \usepackage{pgfplotstable} \begin{...
7
votes
3answers
2k views

Write a column selectively to the appropriate row using pgfplotstable?

Description: I have a .csv file named namespgf.csv Reg.No.,Name 5501,Kathirvelu A 5502,Gugan K 5503,Kalaitchelvi S 5504,Suresh S 5505,Mahesh K and another .csv file named markspgf.csv number,marks ...
12
votes
1answer
2k views

How can I filter/select data (float, text) from a table and plot it?

Note I post this question in addition to a recent question (see below) with a more detailed description of the problem: This was the original question: How can I filter/select data from a table and ...
2
votes
2answers
419 views

pgfplots: Cycle bar chart bar colors to improve readability, data loaded from file

I have a confidence interval style bar chart, shown below. Is there a way to change it so that each bar (and each label) has a different color (from a cycle of colors) to improve readability? All the ...
4
votes
1answer
946 views

How to plot data from multiple filters using pgfplots

I'm searching for a way to apply multiple filters to a data input and plot the result of each filter in one axis environment. I found the following question which applies one filter but uses the ...
1
vote
1answer
595 views

2D histogram from a single row of a table, with discrete axis

I am trying to make an animation from a table that contains a row for every frame (year) where the rows are a 9x7 matrix unzipped: Date, Row1Col1, Row1Col2, ..., Row9Col7 1864, 0.65, 0.01, ...,...
3
votes
1answer
215 views

Plot 2D slice of a scalar field defined on a 3D grid

I have a CSV data file like the following X Y Z T 0 0 0 12420 0 0 1 2154 0 0 2 54565 0 0 3 54640 . . 0 0 10 53565 0 1 0 12420 . . 0 1 10 53565 . . 0 10 10 53565 1 0 0 2454535 . ...
2
votes
1answer
84 views

PGFplot plot y over x where z=bar (comparable to SQL WHERE clause)

I am using TexLive XuaLatex with PGFplots 1.13 to plot data. I have a table like this: x , y , z 0 , 0 , 0 0 , 0 , 1 1 , 1 , 0 1 , 1 , 1 2 , 2 , 0 2 , 4 , 1 3 , 3 , 0 3 , 9 , ...
3
votes
1answer
77 views

pgfplots: Plotting one subfigure per country, from datafile

I have data in csv format at the country-year level, and using pgfplots I would like to plot a given variable over time, with one subfigure per country. My idea was to use a groupplot environment: and ...
2
votes
0answers
77 views

Reduce number of input files for group plot in pgfplots [duplicate]

In the pgfplots groupplot below, I have three sets of data represented by data1, data2 and data3. Each of the data have three subtypes. And I need to plot a graph for each of the subtype. The file ...