67 lines
3.3 KiB
Markdown
67 lines
3.3 KiB
Markdown
NOT WORKING:
|
|
FT25-Presets; instead use Load(fast) and Plot Subplot
|
|
|
|
FYI:
|
|
- search is case sensitive
|
|
- if something doesnt work try reset subplot and then press plot subplot again
|
|
|
|
ToDos:
|
|
- rewrite set_tr
|
|
- interpolation of xAxis to be able to plot all datasets
|
|
- used time of start and stop to get indices and length of data in question
|
|
- interpolate time/distance to fit length of choosen data
|
|
- use indices to plot
|
|
- for all avaible xAxis options
|
|
- make time_s and distance relative to choosen lap/ start of timerange
|
|
- add distance calculation
|
|
-> update all sortdata
|
|
|
|
|
|
Quick tutorial:
|
|
1. Browse the .mat file you want to open. (put it into /data folder)
|
|
2. Choose either Load (fast) or Load (Presets)
|
|
- Load(fast):
|
|
- will load ONLY the name of all saved data in your .mat file
|
|
- select data you want to plot in custom subplots -> select data (left side)
|
|
- all features will work for this option
|
|
- for customizing look under the next chapter
|
|
|
|
- Load (Presets)
|
|
- will load a pre configured set of data in your .mat file (takes a bit of time)
|
|
- choose a preset and a season, then press "Plot Presets"
|
|
-> will plot pre configured graphs
|
|
- all features in "Custom Subplots" do NOT work with this
|
|
- the idea is that only sortdata.m and the plot_settings need to be configured each season
|
|
- for customizing look under the next chapter (only features within Set Timestamps panel work)
|
|
|
|
Features:
|
|
1. Set Timestamps:
|
|
- works for both
|
|
- entire stint (all data recorded) is the default option that will be plotted
|
|
- otherwise you can select either the detected laps (will plot, but laps might be inaccurately recorded) or custom timestamps (remember to tick the Use box)
|
|
2. Reset Panel and To Workspace Buttons:
|
|
- work only for Presets
|
|
- should something not work try pressing reset and plot preset again
|
|
- to workspace throws the entire preset dataset into the matlab workspace (for further manipulation)
|
|
- currently limited in capabilites
|
|
3. Custom Subplots:
|
|
- only works for the selected data (if you press load preset you can also use the displayed data, but somethings like cell voltages might not be avaible)
|
|
- columns and rows to set the number of plots you want in one figure
|
|
- press Plot Subplot to plot
|
|
- how it works:
|
|

|
|

|
|

|
|
- press reset subplot to delete the selected graph
|
|
|
|
|
|
Presets:
|
|
Adapting a preset:
|
|
- sortdata creates an struct pltData with all necessary data for plot_settings
|
|
- easiest case: the data from the vectorlogger has the same fieldnames as last season -> probably no changes necessary, unless you want to plot different things
|
|
- vectorlogger fieldnames changed: adapt the fieldname to the updated name
|
|
- otherwise: add missing data with pltData.XXX =
|
|
- plot_settings: uses the data given from pltData to plot, adapt as you see fit
|
|
- plotData currently hands over all data that use the following strings:
|
|
- "ABX*","Shunt*","AMS_Status*","INV*","XSens*
|
|
- which can make problems (e.g. FT23 and FT25 use XSens, FT24 uses VN200) |