pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

[regression] Usage of \pgfkeysvalueof leads to 'Dimension too large' #150

Closed pgf-tikz-bot closed 4 years ago

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/ Author: mo-gul Timestamp: 2017-01-30 05:20:02.839000

At TeX.SX was ask a question with the same title http://tex.stackexchange.com/questions/351126 and there also is given a MWE. I can confirm that this bug was introduced with v1.14 (with v1.13 no error occurs).

Interestingly commenting the tick lines and adding a node \node at (axis description cs:0.5,0.5) {\pgfkeysvalueof{/pgfplots/xmax}}; works without rising an error ...

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#7464 Author: cfeuersaenger Timestamp: 2017-03-18 10:13:08.855000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#bbae Author: mo-gul Timestamp: 2017-03-19 23:08:00.907000

Using the todays master (https://sourceforge.net/p/pgfplots/code/ci/5f1afcbeaf7a8061d361d5d6ffa2d3fb5a4f663e/) I still get an error message:

! Illegal unit of measure (pt inserted).

e l.33 \end{axis}
pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#ed5b Author: mo-gul Timestamp: 2017-03-19 23:08:53.393000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#88e9 Author: cfeuersaenger Timestamp: 2017-03-20 20:55:14.342000

I see. I wasn't aware of the fact that PGF supports scientific notation in for loops -- but not in PGF 3.0.1a.

I have fixed it; now it works for PGF 3.0.1a as well

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#102d Author: cfeuersaenger Timestamp: 2017-03-20 20:55:27.442000

thanks for retesting it!

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#82d4 Author: cfeuersaenger Timestamp: 2017-03-20 20:55:40.280000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#5071 Author: mo-gul Timestamp: 2017-03-20 22:45:52.289000

You are welcome. Thanks for fixing the issue (again). Now it works fine.

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#bd4c Author: mo-gul Timestamp: 2017-06-17 18:16:46.976000

Unfortunatlely with commit https://sourceforge.net/p/pgfplots/code/ci/9deca44f92149e62362a6e44663d8b1217716d36/ it is again not working ... (Same error message as above.)

Maybe add a unit test for that as well?

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#d1b2 Author: mo-gul Timestamp: 2017-06-17 18:17:55.288000

pgf-tikz-bot commented 7 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/150/#d0dc Author: cfeuersaenger Timestamp: 2017-10-21 12:42:03.181000

I have improved the stuff. I will run the regressiontests and update the ticket's state eventually.

I also added a regression test, but these tests are always run against the latest PGF version rather than all old stable versions.