SystemModeler Link >

WSMPlot


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.
  • has the same options as Plot.
  • plots variables and sensitivity bounds when parameter varies .
Load Wolfram SystemModeler Link:
Simulate a model:
Plot the variable x for the whole interval:
Different simulations can be compared in the same plot:
The tooltip is prepended with the simulation number:
Show bounds when varying a parameter:
Show the estimated capacitor voltage variation when varying the frequency by 5%:
Load Wolfram SystemModeler Link:
In[1]:=
Click for copyable input
 
Simulate a model:
In[1]:=
Click for copyable input
Plot the variable x 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]=
If no interval argument is given, the whole simulation interval is plotted:
Plot only a certain interval:
Simulate a model:
Plot two selected variables:
Limit the plot to a smaller interval:
Simulate an oscillating mass on a spring, with a damper acting on the spring:
Use three different values for the damping constant:
Compare the oscillation of the mass with the different levels of damping:
takes the same options as Plot:
Multiple variables are automatically colored to be distinct:
Do multiple simulations:
The tooltip shows which simulation the curve belongs to:
sets the option AxesLabel:
Override by setting AxesLabel:
Wrappers can be used for styling variables:
Setting a Tooltip removes all automatic tooltips:
Simulate a model:
Use filling:
The format returned from WSMModelData can be used for variables:
Do a parameter sweep:
Compare the different simulations to a first-order system:
Find out which parameter a model is most sensitive to:
Simulate with sensitivity to four parameters:
A 5% sensitivity bound on the output shows that has highest impact:
Simulate a model with different parameters:
Plot variable with an explanatory legend:
is related to Plot:
Select the variables you want to plot:
Plot using :
Plot using Plot:
Simulate a Newton's cradle:
Show the position of each of the five balls: