WSMRealTimePlot[conn,{"v1","v2",…},dt]
plots the latest dt seconds of variables vi from WSMSimulationConnection conn.
WSMRealTimePlot[conn,{"v1",…}]
accumulates data until the simulation is stopped.
WSMRealTimePlot["mmodel",{"v1","v2",…},dt]
plots from a new real-time simulation of mmodel.
    
   WSMRealTimePlot
WSMRealTimePlot[conn,{"v1","v2",…},dt]
plots the latest dt seconds of variables vi from WSMSimulationConnection conn.
WSMRealTimePlot[conn,{"v1",…}]
accumulates data until the simulation is stopped.
WSMRealTimePlot["mmodel",{"v1","v2",…},dt]
plots from a new real-time simulation of mmodel.
Details and Options
- WSMRealTimePlot has the same options as ListPlot, with the following additions and changes:
 - 
      
      
Paneled True show panel with buttons ShrinkingDelay Automatic time before shrinking plot range Ticks "Relative" tick labels and behavior WSMPlotUpdating Automatic updating behavior  - WSMRealTimePlot defaults to PlotLegends->Automatic and uses variable names vi in the legend.
 - Ticks accepts the following values:
 - 
      
      
"Relative" time relative to current simulation time "Absolute" time since simulation start  - WSMPlotUpdating accepts the following values:
 - 
      
      
"Scrolling" max extra space after last data "Overwrite" overwrite earlier plot data {"mode","p1"->v1,…} use mode with suboptions pi  
Examples
open all close allBasic Examples (4)
Generalizations & Extensions (1)
Options (7)
Paneled (1)
PlotLegends (1)
ShrinkingDelay (1)
WSMPlotUpdating (2)
Properties & Relations (2)
WSMRealTimeSimulate returns a WSMSimulationConnection used in WSMRealTimePlot:
Use WSMPlot to plot static simulation results: