Click here to Skip to main content
15,886,806 members
Articles / Desktop Programming / MFC

Plot Graphic Library

Rate me:
Please Sign up or sign in to vote.
4.95/5 (70 votes)
7 May 2003LGPL36 min read 1.4M   51.3K   383  
A library to plot data (lines, maps...) in MFC projects
In this article, you will see a library called PGL that encapsulates plot capabilities in a MFC project for VC6 and VC7. It can easily plot data generated in a project without the need of any external software.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by testpgl.rc
//
#define IDD_TESTPGLVIEW                 101
#define IDD_ABOUTBOX                    130
#define IDR_MAINFRAME                   131
#define IDD_SVG_FORMVIEW                131
#define IDR_TESTPGTYPE                  132
#define IDC_TEST1                       1001
#define IDC_SVG_CTL                     1004
#define IDC_SVGCTL1                     1006
#define ID_GRAPH_SHOW                   32771
#define ID_MISC_TESTFONT                32772
#define ID_GRAPH_SHOWALL                32773
#define ID_GRAPH_REMOVEHIDDEN           32774
#define ID_GRAPH_GENERATEANDEXPORTTOEPSTESTEPS 32775
#define ID_GRAPH_SHOWMODAL              32776
#define ID_GRAPHVIEW                    32777
#define ID_TESTPGLVIEW                  32778
#define ID_VIEW_WITH_CTRL               32779
#define ID_EXAMPLES_SUBPLOTTING         32780
#define ID_BUTTON32781                  32781
#define ID_GRAPH_SHOWVIEW               32782
#define ID_HELP_ABOUT                   32783
#define ID_GRAPH_SHOWSVGVIEW            32784
#define ID_GRAPH_GENERATEGRAPH          32785
#define ID_TEST_CHANGEMENU              32786
#define ID_TEST_STARTANIMATION          32787
#define ID_TEST_STOPANIMATION           32788
#define ID_EXAMPLES_SIMPLELINE          32789
#define ID_EXAMPLES_SIMPLELINEWITHLEVELOFDETAIL 32790
#define ID_EXAMPLES_CUSTOMIZINGTHEAXIS  32791

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        141
#define _APS_NEXT_COMMAND_VALUE         32792
#define _APS_NEXT_CONTROL_VALUE         1007
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Engineer
United States United States
Jonathan de Halleux is Civil Engineer in Applied Mathematics. He finished his PhD in 2004 in the rainy country of Belgium. After 2 years in the Common Language Runtime (i.e. .net), he is now working at Microsoft Research on Pex (http://research.microsoft.com/pex).

Comments and Discussions