Hi Johannes,

the answer is no, not yet.

Use the preamble command

\makeatletter

\def\pgfplotsplotfromname#1{%
     \pgfplots@texdist@protect\pgfplotsplotfromname@{#1}%
}%
\def\pgfplotsplotfromname@#1{%
     \pgfutil@ifundefined{pgfplots@show@ref@#1}{%
         \pgfutil@ifundefined{ref}{%
             \pgfplots@warning{There is no \string\addplot\space label 
`#1', sorry. I am skipping it}%
             \string\pgfplotsplotfromname{#1}: ??%
         }{%
             \ref{\string\pgfplotsplotfromname{#1}}%
         }%
     }{%
         \csname pgfplots@show@ref@#1\endcsname
     }%
}%
\makeatother

to enable a '\pgfplotsplotfromname{<label>}' macro.

I have just added this to pgfplots.

Best regards

Christian

Am 27.07.2011 16:51, schrieb Johannes Wilm:
> Hi again,
>
> one (hopefully last) issue remains for me:
>
> To use legends externally, I could simply replace \ref 
> by \pgfplotslegendfromname . according to the pgfplots manual, 
> footnote p. 127, that means that they are not hyperlinked to the graph.
>
>  Can I also do the same for individual plots?
>
> I currently use \label{X} inside the plot, and then \ref{X} outside of 
> it to draw the legend-entry for that one particular graph. Can I use 
> something equivalent to \ref that will not hyperlink the two with 
> one-another?
>
> -- 
> Johannes Wilm
> http://www.johanneswilm.org
> tel: +1 (520) 399 8880
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
>
>
> _______________________________________________
> Pgfplots-features mailing list
> Pgfplots-features@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pgfplots-features


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to