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 [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 Community
另请参阅
类别
				在 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!

