modelScatter

Simple scatter plots

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates the use of a scatter plotter that plots (sin(t), cos(t)), which will be a circle with radius 1, and (sin(t), cos2(t)), which will be an arc above the x-axis. The plots will be in the file specified in the plot configuration plotConfiguration.

Components

TypeNameDefaultDescription
Buildings.Utilities.Plotters.ConfigurationplotConfigurationConfiguration for the plotters
Buildings.Utilities.Plotters.ScatterscaScatter plot
Modelica.Blocks.Sources.RealExpressionsineSine signal
Modelica.Blocks.Sources.RealExpressioncosineCosine signal
Buildings.Utilities.Plotters.Scattersca1Scatter plot
Modelica.Blocks.Math.ProductproductProduct to compute the square of cos(time)

Revisions

  • March 6, 2023, by Michael Wetter:
    Added a constant in order for unit check to pass.
    See #1711 for a discussion.
  • March 23, 2018, by Michael Wetter:
    First implementation.