TIME SERIES PLOT (newbie)
이전 댓글 표시
hello,
Im trying to quickly make a time series plot for my dissertation (due friday!). I just want to show 2 variables. The data is for 365 days but when I downloaded it from paraview into csv. format, i thought it would go day1,2,3 etc. but instead its about 45,000 lines of point data. Does anyone know what I should fo in order to get the x axis to show time? It can just be in monthly format (i.e. Jan - Dec), i'm not picky. Also I have very little expereince with matlab so the easiest way would be greatly appreciated! Thank you! :)
댓글 수: 3
Walter Roberson
2021년 6월 22일
Does each line of the file have an associated time offset? If so then what does that look like in the file?
If not then you would probably have to assume that readings were taking every 30 seconds (which would give 43800 readings for a year.)
Holly O Neill
2021년 6월 22일
Walter Roberson
2021년 6월 22일
편집: Walter Roberson
2021년 6월 22일
It doesn't make sense for there to be 2.011 events per minute, 120+2/3 events per hour (362 events in 3 hours)
You need more information about how far apart in time the entries are.
If the first entry (line 2) is midnight Jan 1, 2019 at 00:00:00 UTC, then what is the time associated with the next entry (line 3) ?
답변 (1개)
Holly O Neill
2021년 6월 22일
0 개 추천
댓글 수: 1
Walter Roberson
2021년 6월 22일
paraview documentation tells me that pvtu files look at lot different than that.
XML Partitioned Unstructured Grid Reader
Reads the summary file and the associated VTK XML unstructured grid data files. The XML Partitioned Unstructured Grid reader reads the partitioned VTK unstructured grid data file format. It reads the partitioned format's summary file and then the associated VTK XML unstructured grid data files. The expected file extension is .pvtu. This reader also supports file series.
===
So paraview pvtu files are XML, which the posted file certainly is not.
If it were XML then there would be a chance that the data would include information about time.
Points_0 appears to be an X and Points_1 appears to be a Y (or perhaps one maps to latitude and the other maps to longitude), and you have some kind of magintude in the fifth column.
For our understand, what would be the interpretation of the first few lines of data for your purposes? What is it a time series of ? For example is it a single marker fixed into a floating icepack and you are monitoring position changes?
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

