Hi,
instead of importing data from a table and plot them I would like plot a
function and export data to a table
and use it later. Look at the example, can I export points from first and
second \addplot command to a table
use them with \addplot table instead of invoking again in the third plot?
I know how to create tables from scratch and how to save and combine them,
but I don't know find how to
export x coordinate.
\documentclass[border=3mm]{standalone}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
% enlargelimits=false,
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.2,
ymax=1.2,
xtick=\empty,
ytick=\empty
]
\addplot {sin(deg(x))};
\addplot {sin(deg(3*x))};
\addplot {sin(deg(x))+0.5*sin(deg(3*x))};
\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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features