How to move around subplots generated by sbiopredictionci?
Show older comments
I don't know if I accidentally changed some plotting configuration, but in the past weeks I have been having an issue with the subplots generated by sbiopredictionci. I can edit the data normally in the subplots and I can delete subplots as I wish, but for some reason I can't move the subplots around in the Figure window. It's like they have been fixed in place somehow.
Is this configurable?
Thanks!
7 Comments
Rebeca Hannah Oliveira
on 5 Dec 2023
Rebeca Hannah Oliveira
on 5 Dec 2023
Edited: Rebeca Hannah Oliveira
on 5 Dec 2023
Rebeca Hannah Oliveira
on 5 Dec 2023
Priya Moorthy
on 5 Dec 2023
Sorry, Rebeca,
For the first method, there was a mistake in the code I sent you - please try the edited version of the step-by-step code in the Answers section. You can also combine everything into a single line of code, which might be easier to use once you know how it maps to the different steps:
set(findobj(fh, 'type', 'axes'), 'Parent', fh, 'Units', 'normalized');
Let me know if this unblocks you. I will look into the error you are encountering with the second workaround and get back to you.
Priya
Florian Augustin
on 5 Dec 2023
Hi,
I hope the issue is resolved, but I just mention that I just added a comment to this MATLAB Answers post that mentions selectivePlotCI. This comment contains updated code for selectivePlotCI that works for prediction confidence intervals computed in MATLAB releases R2023b or later.
-Florian
Priya Moorthy
on 5 Dec 2023
@Rebeca Hannah Oliveira, with Florian's updated function, the second workaround should also work for you now.
Rebeca Hannah Oliveira
on 5 Dec 2023
Accepted Answer
More Answers (0)
Communities
More Answers in the SimBiology Community
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!