WOLFRAM SYSTEMMODELER LINK PACKAGE SYMBOL

WSMPlot


generates a plot of the variables from a simulation of mmodel.


generates a plot of the variables from the WSMSimulationData object sd over the simulation interval.


generates a plot from to .


plots variables from several WSMSimulationData objects.

DetailsDetails

  • generates simulation data using WSMSimulate["mmodel",args].
  • takes simulation data from a WSMSimulationConnection.
  • plots variables and sensitivity bounds when parameter varies . »
  • The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.
  • has the same options as Plot.
  • defaults to PlotLegends->Automatic and uses variable names in the legend.
  • Events in a simulation are indicated in a plot with Mesh->"Events". »

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Plot variables from a model simulation:

In[1]:=
Click for copyable input
Out[1]=

Simulate a model for 10 seconds:

In[1]:=
Click for copyable input

Plot the variable x1 for the whole interval:

In[2]:=
Click for copyable input
Out[2]=

Different simulations can be compared in the same plot:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

The tooltip is prepended with the simulation number:

In[3]:=
Click for copyable input
Out[3]=

Show bounds when varying a parameter:

In[1]:=
Click for copyable input

Show the estimated capacitor voltage variation when varying the frequency by 5%:

In[2]:=
Click for copyable input
Out[2]=