if you installed PLplot in the standard location.
If the pkg-config is available and CMake found it during the configuration stage than programs might be compiled for C via:
gcc `pkg-config --cflags --libs plplotd` prog.c -o prog
For C++:
g++ `pkg-config --cflags --libs plplotd-c++` prog.cpp -o prog
Although pkg-config is not a standard Windows utility, there is a win32 binary available from GTK (Direct link). Be sure to set the PKG_CONFIG_PATH variable to the <PLplot install>
\lib\pkgconfig directory so it can find the PLplot files. You will still not be able to call pkg-config directly from the gcc/g++ command since the Windows CLI does not support `` (backticks), but at least you can copy and paste the options.
If you built PLplot with the wxWidgets driver, a win32 binary of wx-config (Direct link) may also be useful.
PLplot supports the use of so-called locales (under Windows also known as regional settings) via, for instance the command-line option -locale. If you give this option, then numeric labels along the axes will be drawn using the decimal separator of the locale.
There is a difference with the way locale settings work under Windows compared to Linux:
Note: the statements above are based on experiments with MicroSoft Visual C/C++ 6.0 and MicroSoft Visual C/C++ 2008 compilers. It is not clear at the moment if other compilers available under Windows behave in the same way.
The simplest method of using localization on Windows is presumably the use of the Regional Settings utility from the Control Panel.
The content of this page is available under the GNU Free Documentation License 1.2.