Math & ScienceData visualisation: datavisualisation library or pdfplots.

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
haozepangthegoat
Posts: 3
Joined: Sat Jun 15, 2024 4:56 pm

Data visualisation: datavisualisation library or pdfplots.

Post by haozepangthegoat »

Hi,

I am trying to migrate by lab data visualistion routine from matplotlib to latex. I came a cross some libraries, including the pacage pgfplots and the tikz's datavisualisation libarary. I am not sure whcih one is better for plotting large data sets from experiments. I think pgfplots is the more developed one and datavisualistion library is rather new?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10319
Joined: Mon Mar 10, 2008 9:44 pm

Data visualisation: datavisualisation library or pdfplots.

Post by Stefan Kottwitz »

Hi Haoze,

welcome to the forum!

If you consider plotting in 3D, pgfplots would be preferable because of 3D ordering of points that I think the datavisalization library cannot do yet. The pgfplots library also has more plot types. I would prefer pgfplots as dedicated package with a huge manual and a lot of examples. Take also a look at pgfplots.net.

The datavisalization library also requires much learning of concept and syntax I think. I stick to pgfplots for now.

Stefan
LaTeX.org admin
haozepangthegoat
Posts: 3
Joined: Sat Jun 15, 2024 4:56 pm

Data visualisation: datavisualisation library or pdfplots.

Post by haozepangthegoat »

Thanks!
Post Reply