« Return to Thread: Plotting Data with Tikz

Plotting Data with Tikz

by tritonman :: Rate this Message:

Reply to Author | View in Thread

I've been trying to plot data using the tikz \datavisualization command as per
the example in the tikz manual, section V. E.g.,

\begin{tikzpicture}[scale=.5]
  \datavisualization [school book plot,smooth]
  data [format=function] {
    var x : interval [-2:2];
    func y = \value x*\value x;
  };
\end{tikzpicture}

should produce a nice quadratic function. However, I'm getting errors that say
\datavisualization is an undefined control sequence. I've tried using
\usetikzlibrary{} for anything I can see involving plotting, but that doesn't
seem to help.

Is this functionality still very much under development? Should I research
using the pgfplot package instead, as there seems to be a lot of discussion
about it on this mailing list? I'm a little cautious about doing this as I
want to move away from gnuplot.

Thanks,
Paul Weaver

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: Plotting Data with Tikz