334 views

### xticklabels from table not working [duplicate]

The content \documentclass[margin=1cm]{standalone} \usepackage{filecontents} \usepackage{pgfplots} \begin{filecontents}{dummy.txt} category,amountTotal excellent,0 good,8 neutral,2 ...
3k views

### Can't load file for bar plot

I have the following: \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable} \usepackage{filecontents} \begin{filecontents}{testdata.csv} Probe Mittelwert ...
2k views

### How to shift x ticks in pgfplots having multiple stacked bars

My goal is to generate this bar chart: I was able to achieve this chart as my MWE: \documentclass[parskip]{scrartcl} \usepackage[margin=15mm]{geometry} \usepackage{pgfplots} \pgfplotsset{width=10cm,...
2k views

### pgfplots: Use strings as barchart labels from .csv

I'm trying to plot a vertical bar chart using pfgplots that has strings as labels for the bar charts. (This question has been asked before, but I'm hoping there is a cleaner way to do this now. ...
2k views

### pgfplots: how to load distinct symbolic ticks/labels from file?

I want to plot a matrix of color-values from a csv file. Inspired by this website, I set out to write my MWE below, to which I added this way of dynamically loading symbolic ticks/labels from my data ...
571 views

### How to stop pgfplots scatter to sort the data table?

I want to draw a scatter plot, using pgfplots and I want the data to appear in the plot area the same as it is listed in the table. I don't want the data to be sorted and then be plotted. As it is ...
486 views

### How to deal in pgfplots with repeated symbolic coords using data from a file

I am trying to generate a series of industrial plots resulting from a DoE, according to the example of the MWE, but I cannot find a way to generate it directly from a .csv file or \datatable, since ...
383 views

### PGPlots xtick label from a table [duplicate]

I am trying to load data from a table which looks like below and use the 'label' column for xticklabels. idx,label,value 1,20040101_20050108.rotation.summary, 19.470949839091155 2,20040101_20050115....
129 views

### Pgfplots: Alphanumeric x tick label

I have some data that needs to be plotted against time. But the time is not absolute (NOT 0,1,2,3,...). So I want to represent x tick label as relative labels (like t, t+1, t+2, t+3, ...). My data set ...