couples = pwGetPlottingData2 Returns all data which is currently available for plotting purposes ordered by couples and stimuli.
% IDs couples(i).modelID couples(i).dataID couples(i).kIDs couples(i).sIDs couples(i).uIDs couples(i).xIDs couples(i).yIDs couples(i).zIDs couples(i).aIDs % Parameters and start values couples(i).k couples(i).s couples(i).x0 % Visibility (as set in the equalizer) couples(i).plotting.visible.a.indices couples(i).plotting.visible.u.indices couples(i).plotting.visible.x.indices couples(i).plotting.visible.y.indices couples(i).plotting.visible.z.indices couples(i).plotting.visible.stimuli.indices % Trajectories for fine sampling (Fine) or experimental sampling (ForFit) % for each stimulus couples(i).stimuli(j): tForFit Sampling of experiment tFine Fine sampling (n may be changed in config.plotting.nFine) aForFit Left hand side values of algebraic equations aFine uForFit Driving input u uFine u0 Value of driving input u at first time point xForFit Dynamic variable x given by model at sampling time points xFine Dynamic variable x given by model for fine sampling yForFit Observable y given by model at sampling time points yDataForFit Externally given data - the measurements yDataStdForFit Standard deviation of the external data yFine Observable y given by model for fine sampling y0 Mean value of external data for first time point zForFit Derived variable z zFine
The similar function pwGetPlottingData returns data calculated for plotting depending on a couple and stimulus number and specified IDs as a single matrix with IDs for the column names. This second version, pwGetPlottingData2, on the other hand returns all data at once. The output variable is a struct array that can be used for custom plotting or calculation. x0, y0, u0 belong to the first time-point used for integration and not necessarilly to the zero time-point t=0.