Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

3 votes
Accepted

Changing font of first column in table using pgfplotstabletypeset

The following style for a column allows to modify the content where ##1 represents the actual data postproc cell content/.style={@cell content={\small\textbf{##1}}} However, you need to reference the ...
antshar's user avatar
  • 4,497
1 vote

PGFPlots: BoxPlot of a statistic table with absolute frequency

I first was a bit unsure about your question, but after having read Stefan Pinnow's comment (thank you!), I think that you might want to have the values in the first column repeated the number of ...
Jasper Habicht's user avatar
3 votes
Accepted

Restrict domain of plots with data coming from different files

x means the value used for the x axis. You can use \thisrow{0} to add a filter on the first column x filter/.code={ \pgfmathparse{ \thisrow{0} >= 0 && \thisrow{0} <= 0.5 ? x : nan } }, ...
jlab's user avatar
  • 3,277
1 vote
Accepted

pgfplots plot difference between columns of table gives wrong results

Nothing fails - your code produces the correct output. You probably have wrong data in data.csv. If you are feeling brave, you could use \begin{filecontents*}[overwrite]{data.csv}
hpekristiansen's user avatar
1 vote
Accepted

Fill area under curve points

Trivial solution. Changes in yours code: }; \fill[cyan] (1,1)--(2,3)--(3,5)--(4,6)--(5,8)--(5,0)--(1,0)--cycle; \pgfmathsetmacro{\A}{.5*((1+3)+(3+5)+(5+6)+(6+8))} \node[fill=white] at (3,2) {Area=\A}; ...
Raffaele Santoro's user avatar
3 votes
Accepted

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

I found a solution to solve my problem! Maybe it is not the best one, but it still works! The trick was to have a special case for \pgfplotstablerow=-1 This is needed, because \pgfplotstablerow starts ...
PascalS's user avatar
  • 748
1 vote
Accepted

fill between curve and y axis

A small variation of the @Raffaele Santoro answer (+1): %\documentclass[11pt,reqno]{amsbook} \documentclass[margin=3mm]{standalone} \usepackage{amsmath, amssymb} \usepackage{pgfplots} \...
Zarko's user avatar
  • 298k
3 votes

pgfplotstable: Change to multicolumn row depending on input data

Here is a solution for OpTeX users: \createfile {data.csv} Type, Description, X-Pos, Y-Pos typA, PowerSupply, 3590, 2000 typA, PowerSupply, 3590, 2500 typB, PowerSupply, 4250, 6070 typA, ...
wipet's user avatar
  • 75.4k
2 votes

fill between curve and y axis

Like this: Code: \documentclass[11pt,reqno]{amsbook} \usepackage{amsmath} \usepackage{amssymb} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.18} \usepgfplotslibrary{fillbetween} \...
Raffaele Santoro's user avatar
4 votes
Accepted

pgfplotstable: Change to multicolumn row depending on input data

Could a solution with csvsimple-l3 and tabularray be acceptable for you? \documentclass{article} \usepackage[a4paper, margin=10mm]{geometry} \usepackage{csvsimple-l3} \usepackage{tabularray} \...
CarLaTeX's user avatar
  • 64.2k

Top 50 recent answers are included