Hi Neal,

this is a bug, indeed... it happens because the displayed data range 
becomes too small.

After application of logs, you find the data range
log( [1000,1001]) = [ 6.90775527898214 , 6.90875477931522]

for linear axes, pgfplots applies some rescaling and shifting to reduce 
the problem. For log axes, it keeps the logs as-is which beats you here.

A work-around would be to type "xmax=1090" (i.e. to enlarge the 
displayed limit manually).

How important is that fix for you? Do you report it for reasons of 
anoyance and of completeness (probably both true) or do you really need 
a log plot with such a small data range?

Kind regards

Christian

Am 27.05.2013 14:31, schrieb Neal H. Walfield:
> Consider the following plot:
>
>    \documentclass{article}
>    
>    \usepackage{pgfplots}
>    \pgfplotsset{compat=1.8}
>    
>    \begin{document}
>    \def\x{1001}
>    \begin{tikzpicture}
>      \begin{semilogxaxis}
>        \addplot coordinates {
>          (1000, 0)
>          (\x, 1)
>        };
>      \end{semilogxaxis}
>    \end{tikzpicture}
>    \end{document}
>
> Compiling this, I get:
>
> ! Dimension too large.
> <recently read> \pgf@xx
>                          
> l.14     \end{semilogxaxis}
>
> This happens for values of \x up to 1075.
>
> I think this is a bug.  I tested against 1.8.
>
> Thanks,
>
> Neal
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to