Hi Ignasi, thank you for the document!
You can use 'forget plot' to eliminate it from the legend and cycle list. Best regards Christian Am 06.10.2011 12:51, schrieb Ignasi Furió: > El Wed, 05 Oct 2011 18:40:04 +0200, Christian Feuersaenger > <cfeuersaen...@googlemail.com> vau escriure: > >> Hi Ignasi, >> >> yes, that is possible since pgfplots 1.5 : use 'plot unprocessed to >> file={<file name>}': >> > Great! I'm using tlcontrib version and it worked. > As I explained in another message I wanted to plot some signal+noise plot > and > wanted to use same noise (random values) in several plots. Next you will > find the > example, in case anybody is interested in it. > > Just a comment about 'plot unprocessed to file', because it's used within > addplot, > it produces an step in cycle list although nothing is drawn. > > %------------------- > \documentclass[border=3mm]{standalone} > \usepackage{pgfplots} > > \begin{document} > > \pgfplotsset{ > scale=0.5, > domain=0:2*pi, > samples=200, > every axis plot post/.append style={mark=none}, > cycle list name=exotic, > axis y line=left, > axis x line=middle, > xmax=7, > ymin=-1.5, > ymax=1.5, > xtick=\empty, > ytick=\empty > } > > \begin{tikzpicture}[baseline] > \begin{axis}[name=sin,anchor=center] > \addplot {0.7*sin(deg(x))}; > \end{axis} > \end{tikzpicture} > $+$ > \begin{tikzpicture}[baseline] > \begin{axis}[name=noise,anchor=center] > \addplot [plot unprocessed to file={awgn.dat}] {rand}; > \addplot file {awgn.dat}; > \end{axis} > \end{tikzpicture} > $=$ > \begin{tikzpicture}[baseline] > \begin{axis}[name=total,anchor=center] > \pgfplotsset{cycle list shift=+3} > \addplot table[y expr=\thisrowno{1}+0.7*sin(deg(\thisrowno{0}))] > {awgn.dat}; > \end{axis} > \end{tikzpicture} > > \begin{tikzpicture}[baseline] > \begin{axis}[name=sin,anchor=center] > \addplot {0.7*sin(deg(x))}; > \end{axis} > \end{tikzpicture} > $+$ > \begin{tikzpicture}[baseline] > \begin{axis}[name=noise,anchor=center] > \pgfplotsset{cycle list shift=+1} > \addplot table[y expr=0.2*\thisrowno{1}] {awgn.dat}; > \end{axis} > \end{tikzpicture} > $=$ > \begin{tikzpicture}[baseline] > \begin{axis}[name=total,anchor=center] > \pgfplotsset{cycle list shift=+3} > \addplot table[y expr=0.2*\thisrowno{1}+0.7*sin(deg(\thisrowno{0}))] > {awgn.dat}; > \end{axis} > \end{tikzpicture} > \end{document} > %---------------------- > > Thank you, > > Ignasi > > ------------------------------------------------------------------------------ > 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 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Pgfplots-features mailing list Pgfplots-features@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pgfplots-features