Quantcast
Channel: `Missing = inserted for \ifnum` when using addplot - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by Cryptc for `Missing = inserted for \ifnum` when using addplot

Using a related answer about fpu formatting, I was able to use \ifnum in the case that my result was within the range of an int() [−16383.9998, +16383.9998]. The trick is to use \pgfmathfloattofixed on...

View Article


Image may be NSFW.
Clik here to view.

Answer by Heiko Oberdiek for `Missing = inserted for \ifnum` when using addplot

pgfplots uses library fpu for better precision by default, which has a different internal number format. Therefore \pgfresult is not 1 or 0 anymore and \ifnum cannot be...

View Article


`Missing = inserted for \ifnum` when using addplot

I'm trying to plot a normalized sinc function with PGFPlots/TikZ. As this is somewhat tricky because of the limiting value at 0, I used a suggestion provided by percusse.Here's a minimal example (note...

View Article

Answer by user202729 for `Missing = inserted for \ifnum` when using addplot

Unfortunately, both of the existing answers have drawbacks.Heiko Oberdiek's answer: it exactly undoes the fix in the linked question. In this case \addplot just happens to not evaluate the function at...

View Article
Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>