Skip to content

Plotting 1D Data in VisIt #19805

Closed Answered by markcmiller86
ianabel asked this question in Help using VisIt
Sep 12, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

@ianabel sorry you are having trouble with some simple curve data.

I think the best option is to store the data as x y pairs, line by line in an ascii file with .curve extension.

Example...

# TIME 3.321
# going_up
0 0
0.010101 0.000235273
0.020202 0.000829659
0.030303 0.00173407
0.040404 0.00292568
0.0505051 0.00438962
# flat
0 0.5
0.010101 0.5
0.020202 0.5
0.030303 0.5
0.040404 0.5
0.0505051 0.5
0.0606061 0.5

The # TIME line allows you to associate a simulation time for all curves in the file...thats for cases where the curves are all taken at some time during a simulation run.

The # <string> lines define a new curve name and the data following it.

Replies: 3 comments 1 reply

Comment options

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

You must be logged in to vote
1 reply
@ianabel
Comment options

Comment options

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
2 participants