New answers tagged pgfmath
4
votes
Accepted
Asinh scale in pgfplots with small parameters
The intrinsic problem is that values like 1e-9 become zero internally (underflow), resulting later in division by zero etc etc. I suggest the following solution:
Add a column diffscaled to test.csv ...
- 46.7k
2
votes
Accepted
How to multply an scalar with a defined variable (\def) in Tikz
Remove the pair of {} around your definition. PGFMath assumes an array here. You will still need {1.2*\px}.
Use declare function so that you only have to use 1.2*px (though I'm using myPx in the code ...
- 103k
Top 50 recent answers are included
Related Tags
pgfmath × 530tikz-pgf × 293
pgfplots × 105
pgfmathparse × 35
pgfplotstable × 29
foreach × 26
macros × 25
random-numbers × 22
pgfkeys × 19
calculations × 16
conditionals × 15
errors × 12
tables × 9
loops × 9
beamer × 8
math-mode × 8
arrays × 8
pdftex × 7
expl3 × 7
plot × 7
diagrams × 6
expansion × 6
xparse × 6
graphics × 5
formatting × 5