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
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Utilities.Plotters.Configuration | plotConfiguration | Configuration for the plotters | |
| Buildings.Utilities.Plotters.Scatter | sca | Scatter plot | |
| Modelica.Blocks.Sources.RealExpression | sine | Sine signal | |
| Modelica.Blocks.Sources.RealExpression | cosine | Cosine signal | |
| Buildings.Utilities.Plotters.Scatter | sca1 | Scatter plot | |
| Modelica.Blocks.Math.Product | product | Product 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.