User Tools

Site Tools


en:2d_graphics

Settings: 2D graphics

Here you can define the display of 2D graphics.

In the Graphic display section, you can decide whether axes, background grids and labels are visible. You can also specify whether the calculated support values of the graphic should be connected by lines. For each graphic, these settings can be made again separately in the tree on the left-hand side and by double-clicking on the Axes entry.

The Sampling values for calculation describe the number of values that are calculated for a given function to display the graphic. CGRPAH manages this number internally and selects the optimal number of support values depending on the window size. However, it can also be specified manually using the slider.

In the Set grid and axis spacing area, you can influence how CGRAPH draws the background grid and labels within wide limits. The number for the average grid interval specifies the distance in pixels that is selected as the basis for ‘smooth’ grid spacing. This is because ‘odd’ numbers are never used for the grid – the programme always attempts to use whole numbers (e.g. 1, 2, 3…) or divisors thereof (e.g. 1.0, 1.2, 1.4…) as a basis. To prevent every grid line from being labelled, the grid-to-axis text ratio can also be specified. It is always an integer – a 1 means that text is displayed on every grid line, a 2 stands for ‘every second grid line’, etc.

You can also influence the behaviour when changing the visible section of a graphics window. If true-to-scale section enlargement is selected, the ratio of the scales to each other remains the same – the new section therefore represents a true enlargement. If the field is not selected, CGRAPH implements the selected section exactly. In the example, the left image shows the section selected with the mouse. When scaled accurately (centre), however, a larger section is visible. When the section is moved exactly (right image), the new coordinates for the window correspond exactly to the selected section, but the scale ratio now differs.

CGRAPH can draw the resulting section when zooming during true-to-scale section enlargement. It is then displayed as an additional green frame in the graphic.

A slider also allows you to set the minimum possible scale.

Back to overview

en/2d_graphics.txt · Last modified: by frankbrennecke

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki