Linked Questions

1
vote
0answers
241 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 ...
2
votes
2answers
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 ...
4
votes
2answers
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,...
3
votes
1answer
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 ...
3
votes
1answer
1k 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. ...
3
votes
1answer
400 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 ...
2
votes
2answers
213 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 ...
1
vote
1answer
101 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 ...
1
vote
0answers
191 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....
1
vote
0answers
83 views

Is it possible to create an x-y Plot with addplot table where the x-axis entries are not shown, but instead text can be inserted for each one? [duplicate]

Is it possible to create an x-y Plot with addplot table where the x-axis entries are not shown, but instead text can be inserted for each one? This is because I have a file containing bonds and I'd ...
1
vote
1answer
37 views

label text into x-axis instead of numbers pgfplotstable

Does anyone know how can i enter text into the x-axis ? It seems like only numbers are allowed as soon as i wanted to enter alphabets it will be an error. This template was adapted from here. \...