PS

I am sure this is not a problem... but just for you to note: your 
minimal example contains xmin=-10 which is silently ignored by pgfplots 
because log(-10) does not exist.

Am 06.08.2011 13:52, schrieb Richard Janis Beckert:
> Hey there!
>
> I want to plot a function, with the x-axis using logarithmic ticks, and
> placing a label on it (see my code below). The problem is: if I use a
> placement like at (axis cs:x,y), x is not actually using the same
> coordinate system as the plot, i.e. x=3 seems to be placed at x=3
> assuming a _non_-logarithmic x-axis, while it should actually be placed
> at x=log(3). I hope it is clear what I mean... Just try the code below
> (pgfplots 1.4.1).
>
> \begin{tikzpicture}
>      \begin{axis}[
>          axis x line=center,
>          axis y line=center,
>          xlabel=$t$,
>          ylabel=$x$,
>          xmode=log,
>          log basis x=10,
>          ytick=\empty,
>          xmin=-10,
>          after end axis/.code={\node[coordinate,pin=above:{\footnotesize x}] 
> at (axis cs:3,\expnode){};}
>          \addplot[domain=1:5000,samples=1000,sharp 
> plot,mark=none,black,id=exp] gnuplot {10*exp(-x)};
>          \pgfmathsetmacro{\expnode}{10*exp(-3)};
>      \end{axis}
> \end{tikzpicture}
>
>
>
> Cheers,
> Janis
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos&  much more. Register early&  save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to