Graph drawing method and system based on WPF technology
A graphic and technical technology, applied in the direction of program control device, spectrum analysis/Fourier analysis, etc., can solve the problems of reducing work efficiency, consuming large CPU resources, unable to use the method of drawing line graphs, etc., to improve work efficiency , the effect of reducing CPU resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] Such as figure 1 As shown, the present invention discloses a method for drawing graphics based on WPF technology, comprising the following steps:
[0032] In step S1, the background thread receives the time domain data collected by the data collection device;
[0033] In step S2, the background thread processes the time-domain data into spectrum data through fast Fourier transform;
[0034] In step S3, the background thread maps the spectrum data according to the set color scale, so as to obtain the RGB value corresponding to a complete spectrum line on the display;
[0035] In step S4, the spectral lines are stored in the cache;
[0036] In step S5, it is judged whether the cache is full, if it is full, then step S6 is executed, otherwise step S3 is executed;
[0037] In step S6, the background thread notifies the foreground main thread to draw spectral lines.
[0038] In said step S5, the number of buffered spectral lines is calculated according to formula one, if...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com