Dear Nils Schuhardt,

thanks for your request! Since it might be of interest to a larger 
audience, I cc'ed the pgfplots mailing list.

The question was "How can I use a different marker size for the legend, 
assuming that my plot has a 'mark size=0.01mm' set?" .

The answer is to rely on the style 'every legend image post' (or its 
equivalent short-cut key 'legend image post style').

Here is a suitable minimal example:

\documentclass{article}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
     \begin{axis}
         \addplot+[
             mark=+,
             blue,
             only marks,
             mark size={0.1mm},
             legend image post style={mark size=1mm},
         ]
         {x};
         \addlegendentry{$x$}
     \end{axis}
\end{tikzpicture}
\end{document}

I wish a merry christmas and a happy new year!

Kind regards

Christian


Am 25.12.2012 16:27, schrieb Nils Schuhardt:
> Hallo Herr Dr. Feuersänger,
>
> fröhliche Weihnachten erstmal.
> Zu meinem Problem habe ich nichts in der Anleitung und im Internet 
> gefunden. Über
>
> \addplot+[mark=+, blue, only marks, mark size={0.01mm}] 
> table[header=false,x index=0,y index=3] {bilder/2012_12_11.csv};
>
> stelle ich jeden Messwert einzeln dar und möchte nun den Marker vor 
> dem Legendeneintrag größer als 0.01 mm haben. Als Option in der 
> Axisumgebung und bei \addlegendentry hatte ich mit mark size={1mm} 
> leider keinen Erfolg. Verraten Sie mir bitte wo und wie ich die Marker 
> unabhängig voneinander dimensionieren kann.
>
> Mit freundlichem Gruß
> Nils Schuhardt


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to