Hi Richard,

thank you for your interest in pgfplots.

The thin line in your example arises from the fact that pgfplots 
installs a clipping region around the box - and your line is half in 
that clipping region.

I would suggest to enlarge the upper y limit a little bit, for example 
by adding

enlarge y limits={upper,0.01},

to your option list. Alternatively, you can consider 'clip=false' which 
turns off the clipping.

Best regards

Christian


Am 28.09.2011 14:46, schrieb Richard Coombs:
> Hello,
>
> I really like your pgfplots class; however, I have a problem which I 
> would be grateful if you could help me with.
>
> When I try to plot a line that runs across the top of the axis, it 
> appears much thinner (about half-thickness) than the rest of the plot.
>
> This problem can be seen in the attached image, which was created 
> using the following code:
>
>     \begin{tikzpicture}
>     \begin{axis}[%
>     axis x line=bottom,
>     axis y line=left,
>     scale only axis,
>     width=\fwidth,
>     height=\fheight]
>     \addplot [color=blue]
>     coordinates{
>     
> (1,0.65)(2,0.89)(3,0.87)(4,0.97)(5,1)(6,1)(7,1)(8,1)(9,0.98)(10,0.96)(11,0.9)(12,0.79)(13,0.23)(14,0.06)(15,0)
>
>     };
>     \end{axis}
>     \end{tikzpicture}
>
>
> I would greatly appreciate your help on this matter,
>
> Kind regards,
>
> Richard


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to