Dear Stephane,
It seems the buggy behavior in texlive-pictures is a bug which has been
fixed in more recent versions of pgfplots.
I can reproduce your issue on pgfplots 1.2.2, starting with pgfplots
1.3, it is gone (the current stable is 1.4.1).
It might help to install a newer version in a local texmf directory on
your machine.
Best regards
Christian
Am 22.11.2010 21:56, schrieb Stephane:
> Hi all,
>
> I try to produce a scatter plot, with a legend for each marks. However the
> following code create a plot with only the first entry in the \legend{}
> written...
>
> I am on Ubuntu using tikz from the "texlive-pictures" package, version 2009-7.
>
> Could you help with this?
>
> Cheers
>
>
> \begin{tikzpicture}
> \begin{axis}[
> scatter/classes={
> a={mark=o},
> b={mark=oplus},
> c={mark=otimes},
> d={mark=square},
> e={mark=triangle},
> f={mark=diamond},
> g={mark=pentagon},
> h={mark=star}
> },
> ylabel=$Bytes \; (MB)$,
> xlabel=$Time \; (s)$,
> mark options={scale=2},
> legend style={font=\scriptsize},
> ]
>
>
> \addplot+[scatter, only marks]
> plot[scatter src=explicit symbolic]
> coordinates {
> (2.2446, 125.6) [a]
> (2.5433, 115.2) [b]
> (2.36, 106.8) [c]
> (2.257, 194.0) [d]
> (2.3846, 161.8) [e]
> (6.1836, 129.0) [f]
> (2.8555, 118.3) [g]
> (3.3004, 244.5) [h]
> };
> \legend{AFOR-1, AFOR-2, AFOR-3, FOR, PFOR, Rice, S-64, VByte}
> \end{axis}
> \end{tikzpicture}
>
>
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App& Earn a Chance To Win $500!
> Tap into the largest installed PC base& get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Pgfplots-features mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features
>
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features