Modelica_LinearSystems2.Utilities.Plot.Types

Types used for the plotting functions

Package Content

NameDescription
Modelica_LinearSystems2.Utilities.Plot.Types.DrawingUnit_mm DrawingUnit_mm Drawing unit specifing the nominal size in [mm]
Modelica_LinearSystems2.Utilities.Plot.Types.ImageResolution_dpi ImageResolution_dpi Resolution of image in pixel per inch (screen) or dots per inch (printer)
LinePattern Choices for line pattern
PointSymbol Choices for point symbol
LegendLocation Choices for legend location

Modelica_LinearSystems2.Utilities.Plot.Types.DrawingUnit_mm Modelica_LinearSystems2.Utilities.Plot.Types.DrawingUnit_mm

Drawing unit specifing the nominal size in [mm]

Information


All size information for plotting, such as width or height of a window or the thickness of a line, are defined by type DrawingUnit_mm. The recommended interpretation is that the DrawingUnit is the unscaled size in a document or on printer in [mm]. For example, if the width of a diagram is 120, and the diagram is pasted into a Word or PowerPoint document, then the width of the diagram in the document is 120 mm.

Extends from Modelica.Icons.TypeReal (Icon for a Real type).

Parameters

NameDescription
quantity 
unit 

Modelica_LinearSystems2.Utilities.Plot.Types.ImageResolution_dpi Modelica_LinearSystems2.Utilities.Plot.Types.ImageResolution_dpi

Resolution of image in pixel per inch (screen) or dots per inch (printer)

Information


"ImageResolution_dpi" defines the mapping of a length coordinate to the resolution of the output device. The resolution [dpi] is defined as "dots-per-inch" and therefore a length L_mm defined in [mm] is mapped to a length L_dot in dots (or pixel) with the formula:

   L_dot = round(ImageResolution_dpi/25.4 * L_mm)

where function round(..) rounds to the nearest integer. Typical values are "96 dpi" (for screen) or "600 dpi" for printer. For example if an "ImageResolution = 96 dpi" shall be used for a screen, then 1 mm is mapped to 4 pixel.

Extends from Modelica.Icons.TypeReal (Icon for a Real type).

Parameters

NameDescription
quantity 

Modelica_LinearSystems2.Utilities.Plot.Types.LinePattern

Choices for line pattern

Modelica_LinearSystems2.Utilities.Plot.Types.PointSymbol

Choices for point symbol

Modelica_LinearSystems2.Utilities.Plot.Types.LegendLocation

Choices for legend location

HTML-documentation generated by Dymola Tue Sep 08 18:52:57 2009.