{"id":167539,"date":"2023-04-13T07:32:42","date_gmt":"2023-04-13T07:32:42","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-load-a-2d-plot-from-external-file\/"},"modified":"2023-07-31T12:28:23","modified_gmt":"2023-07-31T12:28:23","slug":"how-to-load-a-2d-plot-from-external-file","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-load-a-2d-plot-from-external-file\/","title":{"rendered":"How to load a 2D plot from external file"},"content":{"rendered":"<p>Save this sample as a text file and load it in EnSight as query (Sample &#8211; Read from external file):  2 Distance vs. Temperature for Line Tool Distance Temperature 1 5 0.0 4.4 1.0 5.8 2.0 3.6 3.0 4.6 4.0 4.8 Distance vs. Pressure for Line Tool Distance Pressure 2 4 0.00 1.2 0.02 1.1 0.04 1.15 0.06 1.22 3 1.10 1.30 1.12 1.28 1.14 1.25  Explanation:  Line 1 contains the (integer) number of curves in the file. Line 2 contains the name of the curve. Line 3 contains the name of the X-Axis. Line 4 contains the name of the Y-Axis. Line 5 contains the number of curve segments in this curve. Line 6 contains the number of points in the curve segment. Lines 7-11 contain the X-Y information. Line 12 contains the name of the second curve. Line 13 contains the name of the X-Axis Line 14 contains the name of the Y-Axis Line 15 contains the number of curve segments in this curve. (For the second curve, the first segment contains 4 points, the second 3 points.) <\/p>\n<p>Attachments:<br \/>\n1. <a href=https:\/\/ansys13.ansys.com\/KnowledgeArticles\/Phase-2A\/2058395\/2058395.zip>2058395.zip<\/a><\/p>\n","protected":false},"template":"","class_list":["post-167539","topic","type-topic","status-publish","hentry","topic-tag-10-2","topic-tag-ensight","topic-tag-fluid-dynamics","topic-tag-general","topic-tag-plot","topic-tag-probe","topic-tag-query"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["04-13-2023  20:20:01"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["568"],"siebel_km_number":["2058395"],"product_version":["10.2"],"km_published_date":["2019-03-04T00:00:00.000Z"],"family":["Fluid Dynamics"],"application_name":["Ensight"]},"test":"solution"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/167539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/167539\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=167539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}