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 views (last 30 days)
Show older comments
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
Accepted Answer
Jaynik
on 18 Jun 2024
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:
More Answers (0)
See Also
Categories
Find more on Discrete-Event Simulation 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!