Graphics, Figures & TablesCreating graphs in latex with C# values

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ccvrijs
Posts: 3
Joined: Fri Aug 14, 2020 12:37 pm

Creating graphs in latex with C# values

Post by ccvrijs »

I want to make 2 graphs in latex, with the data from a C# program.
The data is a height, length value.
Can anyone help me how to make this.
Thank you in advance.
Graph 2.JPG
Graph 2.JPG (209.91 KiB) Viewed 1864 times
Graph 1.JPG
Graph 1.JPG (207.11 KiB) Viewed 1864 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Creating graphs in latex with C# values

Post by Bartman »

What do you find when you search for the relevant terms? Most of the search results should point to pgfplots. Of course, this is not the only way to visualize data, but as expected, it also offers most of the examples in the forums.
ccvrijs
Posts: 3
Joined: Fri Aug 14, 2020 12:37 pm

Creating graphs in latex with C# values

Post by ccvrijs »

When I search for C # + pgfplots I can't find anything unfortunately
How do I use variables from a C # program in pgfplots and make the 2 graphs in latex?
Has this never been done by anyone?
Thank you in advance.
Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Creating graphs in latex with C# values

Post by Bartman »

Then I have probably misunderstood your wish.

pgfplots or the other packages need the data as text in order to be able to read them. If your program can't output the data as text in any way (e.g. as an export to a text file), then, as far as I know, you can't read and display it with LaTeX.
Post Reply