How to plot error bars in simbio having standard deviations?
4 ビュー (過去 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 [Conc−SD], 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!
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
コミュニティ
その他の回答 SimBiology コミュニティ
参考
カテゴリ
Help Center および File Exchange で Extend Modeling Environment についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!