WSMLink`
WSMLink`

WSMRenamePlot

WSMRenamePlot has been replaced by WSMSetPlot.

WSMRenamePlot["mmodel","plot1","plot2"]

renames plot1 to plot2 in mmodel.

Details and Options

  • The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.
  • Using "group/plot" as a name puts plot in group.

Examples

open allclose all

Basic Examples  (2)

Load Wolfram System Modeler Link:

Show the plots in a model:

Rename a plot:

Simulate and show the renamed plot:

Scope  (1)

Move a plot from one group to another:

Move "ZPlot" into the "OtherGroup":

Simulate and show everything in "OtherGroup":

Properties & Relations  (2)

Use WSMStorePlot to create new plots or change plot contents:

Simulate and show the created plot:

Delete plots using WSMDeletePlot:

Store a plot that will then be deleted:

WSMDeletePlot removes the plot from the model:

Possible Issues  (1)

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

Rename a plot:

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