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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Jaynik
am 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:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!