WSMLink`
WSMLink`

WSMDeletePlot

WSMDeletePlot has been replaced by WSMClearPlot.

WSMDeletePlot["mmodel","plot"]

deletes plot from mmodel.

Details and Options

  • The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.

Examples

open allclose all

Basic Examples  (2)

Load Wolfram System Modeler Link:

Show the plots in a model:

Delete a plot:

The plot is not present in the model anymore:

Properties & Relations  (2)

Use WSMStorePlot to create new plots or change plot contents:

Simulate and show the created plot:

Rename plots using WSMRenamePlot:

Store a plot that will then be renamed:

WSMRenamePlot renames the plot but keeps the contents:

Simulate and show the renamed plot:

Possible Issues  (1)

Models are not saved unless explicitly saved in System Modeler Model Center:

Delete a plot:

After quitting the Wolfram Language kernel and System Modeler, the copied model is gone: