I learned more about the "problem." It seems the lollypop display is only related to the display of Entity Attributes (e.g., entity.TimeInUnpack) that I calculate with Event Actions. When I plot Entity Server statistics, they appear as curves. Will someone please explain the reason behind that to me? Thank you.
How do I get rid of the "lollypop" output on a Simulink Simulation Data Inspector plot?
4 次查看(过去 30 天)
显示 更早的评论
All of my SimEvents output in the Simulation Data Inspector plots look like a bunch of lollypops. What I really want are just the circles, or maybe curve, not the vertical lines. How can I change the output to the desired format? I am using MATLAB 2024a Update 3.
Is the lollypop display a SimEvents artifact?
Figure 1 - The Lollypops
I also notice that my Time Plot Visualization settings are limited to just the following, not the full set of options shown in the Help Center documentation. How do I access the additional Time Plot Visualization settings?
Figure 2 - My Time Plot Visualization Settings
Figure 3 – Visualization Settings Shown in Help Center Documentation
采纳的回答
Jaynik
2024-6-18
Hi Timothy,
I tried to reproduce the plot using the following example:
To access the example, I used the following command:
openExample('shared_sdi/ViewMultidimensionalDataExample')
On executing the first section, I was able to generate the "lollypop" plots which are known as Stem plots. To change the output to the desired format, look for the settings icon in the top right corner of the plot window. Use Plot types to change change the plot to required format which would be Marker as per your use case.
After changing to the "Marker" type:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!