Grid plotting is a graphic representation method widely used in mathematics, physics, engineering and other fields. By establishing grid points in a plane or space and using different symbols or colors to represent the distribution of data or physical quantities, the laws and characteristics of the problem are intuitively shown. The key of grid point drawing is how to select grid points reasonably, draw lines and symbols, and how to optimize the drawing effect.
Reasonable selection of 1. grid points
Select the appropriate grid spacing: according to the data range and accuracy requirements, determine the appropriate grid point spacing. Generally speaking, smaller data range and higher accuracy require smaller grid spacing.
Symmetry of grid points: in complex graphics, maintaining the symmetry of grid points is helpful to improve the cleanliness and aesthetics of graphics. For example, when drawing contour maps, regular hexagonal grid points can be used to maintain symmetry.
Adapting to data changes: In areas with drastic data changes, properly encrypt grid points to better reflect the changing trend of data. At the same time, avoid over-encryption in areas where data changes gently, so as to save drawing resources.
Second, draw lines and symbols.
Line thickness and color: Select the appropriate line thickness and color according to the highlighted part. Generally speaking, important lines can be set to thick and bright colors for easy observation.
Symbol size and color: according to the size and difference of data values, choose the appropriate symbol size and color. Larger symbols and bright colors can highlight the high and low changes of data.
Symbol type: according to the type and characteristics of data, select the appropriate symbol. For example, when drawing a scatter plot, you can use symbols such as circles, triangles and squares to distinguish different data points.
Third, optimize the drawing effect
Coordinate axis setting: Set the scale, label and range of coordinate axis reasonably to facilitate observation and reading data. At the same time, choose appropriate axis types, such as linear axis, logarithmic axis and exponential axis, to reflect the different characteristics of data.
Legends and notes: In order to understand the graphics, add clear and concise legends and notes. Legends can help the audience quickly identify different lines, symbols and colors, while annotations can explain the specific meaning and units of data.
Background and border: Choose a simple background and a suitable border to make the graphics more beautiful and tidy. The background can be gradient, gridline or texture, and the border can be line or shadow.
Graphic combination: combine multiple related graphics into a whole. This is helpful to compare and analyze the relations and differences between different graphics and improve the display effect.