Graphics, Figures & TablesPlotting airfoils from external files

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
FC_Stevens
Posts: 2
Joined: Tue Jul 09, 2019 5:15 pm

Plotting airfoils from external files

Post by FC_Stevens »

Hello.

I am trying to include plots of airfoils in my report and have tried using this method:
http://www.texample.net/tikz/examples/airfoil-profiles/

When I try it I get a bunch of errors and have no success. I am completely new to latex and really do not know how to correct this. The way the airfoils are drawn and named is exactly how I want it in my report. The .dat files that contain the foil coordinates are basically two coulombs with x and y coordinates. It can also be converted to a plain .txt file if necessary. I have tried with the data files in a data subfolder and in the latex folder with no success. Any help will greatly be appreciated. Any alternative method will also be appreciated.

I don't know if this is relevant, but I use TeXstudio.

Thank you.
Attachments
error.JPG
error.JPG (150.89 KiB) Viewed 1179 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

FC_Stevens
Posts: 2
Joined: Tue Jul 09, 2019 5:15 pm

Plotting airfoils from external files

Post by FC_Stevens »

After delving deep I discovered that the data the OP used was probably not the same as the data he posted. Some of the files were not in the correct format (it had multiple spaces between the x and y coordinates). I have solved the problem.
Post Reply