How to plot error bars in simbio having standard deviations?

3 次查看(过去 30 天)
Hi everyone!
I'm plotting data using SimBiology, but I'm having trouble plotting simple data with error bars. I don't have access to the raw data, but I do have the mean and standard deviation for each time point. My table is structured as follows:
ID | Time | Conc | SD
I want to plot these data on the Percentile plot, displaying the means with error bars based on their standard deviation. However, I haven't been able to achieve this simple task. Even after adding two columns with the maximum and minimum values by calculating [Conc+SD] and [ConcSD], it seems that SimBiology requires values in the same column.
Basically I wish to do on Simbiology what the matlab errorbar function does (https://it.mathworks.com/help/matlab/ref/errorbar.html#d126e478849).
Please help!

采纳的回答

Priya Moorthy
Priya Moorthy 2025-2-6
Hi, Elio,
Unfortunately, it is not possible to create a Percentile plot directly from mean and standard deviation data in the SimBiology Model Analyzer app. There are two workarounds I could suggest:
(1) Export the data to the command line and create the plot from there.
(2) Create a custom program in the Model Analyzer and provide your own code for a plot. Note, the plot will still be created outside of the app, but you can access the data saved in your project via the custom program. For example, if you have your data stored in your project as Data1, you would add something like the following line to the custom program code:
errorbar(dataInput.Data1.Conc, dataInput.Data1.SD);
Please reach out with any further questions.
Best,
Priya

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

Help CenterFile Exchange 中查找有关 Extend Modeling Environment 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by