Curves
Curves
Curves in MeVisLab
Introduction
Curves can be used in MeVisLab to print the results of a function as two-dimensional mathematical curves into a diagram.
In the given example, only modules available in commercial MeVisLab Professional SDK have been used. The non-commercial MeVisLab Standard SDK provides more modules for curves.
Example 1: Drawing curves
Example 1: Drawing curves
This example is also available on YouTube.
Introduction
In this example, you will draw one or more curves into a diagram and define different styles for the curves.
Steps to do
Develop your network
A curve requires x- and y-coordinates to be printed. You can use the CurveCreator
module as input for these coordinates. The SoDiagram2D
draws the curves into a SoRenderArea
. You can also define the style of the curves by using the StylePalette
module.