How to modify the plotting layout after sbiopredictionci
2 views (last 30 days)
Show older comments
Jesse Chao
on 5 Sep 2022
Answered: Florian Augustin
on 6 Sep 2022
Hello team,
I am currently working with simbiology. After using sbiofit for fitting the experimental data (pooled), I would like to further calculate the confidence interval with sbiopredictionci.
fit_result = sbiofit(...)
preci = sbiopredictionci(fit_result)
plot(preci)
I have successfully calculated the confidence interval, as shown in the photo below.
Since I am working with pooled fitting, I am thinking about combining all group data into one figure with only one confident interval plotted with the experimental data points.
And also, since I have multiple compartments (14) that were fitted, I would like to reorganize them into my ideal subplot layout (4*4).
Is there any way to do it?
If I have any misunderstanding, please also correct me.
Thank you very much.
Best,
Jesse
0 Comments
Accepted Answer
Florian Augustin
on 6 Sep 2022
Hi Jesse,
it sounds like the helper function selectivePlotCI from this MATLAB Answers post could help. The function selectivePlotCI gives you access to the individual axes via the selectedAxes variable. You could use those axes to modify labels and add data to the plots. Let me know if this does not help with your problem.
Best,
Florian
0 Comments
More Answers (0)
Communities
More Answers in the SimBiology Community
See Also
Categories
Find more on Import Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!