General

General

How to load a 2D plot from external file

    • SolutionSolution
      Participant

      Save this sample as a text file and load it in EnSight as query (Sample – 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.)

      Attachments:
      1. 2058395.zip