Skip to content

Ability to read lines to render on top of a 2d plot. #12386

Discussion options

You must be logged in to vote

I sent the user the following e-mail:

Hi,

You can use the vtk format. Below is an example.

The “POINTS” section consists of your points. The “5” is the number of points. The points are x, y, z for each point and if all the z coordinates are zero, then it’s considered 2d data.

The “Lines” section is 0 origin indexes into the points. The “4” is the number of lines, the “12” is the total number of numbers in the lines section.
For each line, the first number is the number of points in the line, so in this case each line as 2 points. The next 2 numbers are the indexes into the points for the first line. So the 0th and 1st points in the list.

You could in theory create longer lines, so you cou…

Replies: 5 comments

Comment options

brugger1
Mar 12, 2020
Maintainer Author

You must be logged in to vote
0 replies
Comment options

brugger1
Mar 12, 2020
Maintainer Author

You must be logged in to vote
0 replies
Comment options

brugger1
Mar 12, 2020
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by markcmiller86
Comment options

brugger1
Mar 12, 2020
Maintainer Author

You must be logged in to vote
0 replies
Comment options

brugger1
Mar 12, 2020
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #12105 on August 02, 2021 04:16.