Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time curve drawing method

A curve drawing and curve technology, applied in the field of curve drawing, can solve the problems that the curve is not smooth enough, not beautiful enough, and the reflection of analog quantity is not real enough, etc., and achieve the effect of simple method and strong practicability

Inactive Publication Date: 2012-10-03
HENAN SPLENDOR SCI & TECH
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the real-time curve only needs to reflect the data in the current and previous relatively short period of time, the curve graph can be fixed in a fixed short period of time, and the sampling data obtained by fixing the sampling point time can be plotted, and the A simple curve can be obtained by connecting each point; however, the curve obtained by this method is only a static curve, and directly connecting two points with a straight line will make the curve not smooth and not beautiful enough. The reflection of the analog quantity is not realistic enough

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The technical solutions of the present invention will be described in further detail below through specific implementation methods.

[0014] A real-time curve drawing method, it comprises the following steps:

[0015] Step 1. Read the sampling time and analog real-time value of one sampling point from the buffer in sequence; if it is the first point, directly take the second point from the buffer;

[0016] Step 2. On the curve drawing area, draw a curve graph with the sampling time of the sampling point as the abscissa and the real-time analog value of the sampling point as the ordinate;

[0017] Step 3. Compare the current sampling point with the real-time analog value of the previous sampling point, and then take the point with the smaller real-time analog value as the coordinate origin, and the point with the larger real-time analog value as the peak or trough point , Draw a quarter-period cosine curve on the curve graph with four sampling times as the period;

[0...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a real-time curve drawing method which comprises the following steps of: reading sampling time and analog quantity real-time values of sampling points; drawing a curvilinear figure by using the sampling time of the sampling points as abscissas and using the analog quantity real-time values of the sampling points as ordinates; comparing the analog quantity real-time values of a current sampling point and a previous sampling point and then drawing a quarter of period of cosine curve on the curvilinear figure by using the point with the small analog quantity real-time value as an origin of coordinates, using the point with the large analog quantity real-time value as a crest or trough point and using four pieces of sampling time as a period; translating the curvilinear figure forward by one period by using one piece of sampling time as the period, judging whether the sampling points on the curvilinear figure reach the boundary of the curvilinear figure, and if the sampling points on the curvilinear figure reach the boundary of the curvilinear figure, deleting the sampling points from a buffer zone; and entering the next circulation. By the method, a smooth, attractive and real real-time analog quantity curve can be drawn; and the method is simple and practical.

Description

technical field [0001] The invention relates to a curve drawing method, in particular to a real-time curve drawing method. Background technique [0002] Depicting the real-time value of the analog quantity with the method of curve graphics can more intuitively reflect the change trend and real-time status of the real-time value of the analog quantity, which is convenient for our understanding and observation. [0003] Since the real-time curve only needs to reflect the data in the current and previous relatively short period of time, the curve graph can be fixed in a fixed short period of time, and the sampling data obtained by fixing the sampling point time can be plotted, and the A simple curve can be obtained by connecting each point; however, the curve obtained by this method is only a static curve, and directly connecting two points with a straight line will make the curve not smooth and not beautiful enough. The reflection of the analog quantity is not realistic enoug...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T11/20
Inventor 李海时海清
Owner HENAN SPLENDOR SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products